Meeting SDK for macOS API Reference
Loading...
Searching...
No Matches
ZoomSDKAudioRawData Class Reference

#import <ZoomSDKRawDataController.h>

Inherits NSObject.

Instance Methods

(BOOL) - canAddRef
 Get if this object can add ref.
 
(BOOL) - addRef
 Add reference for this object, if you doesn't add ref, this object will be released when the callback response ends.
 
(int) - releaseData
 Release the object, if you has add ref, remeber to call this api to release when you wantn't to use this object.
 
(char *) - getBuffer
 Get the buffer data.
 
(unsigned int) - getBufferLen
 Get the buffer length of this data.
 
(unsigned int) - getSampleRate
 Get the sample rate of this data.
 
(unsigned int) - getChannelNum
 Get the channel number of this data.
 

Detailed Description

Definition at line 14 of file ZoomSDKRawDataController.h.

Method Documentation

◆ addRef

- (BOOL) addRef

Add reference for this object, if you doesn't add ref, this object will be released when the callback response ends.

Returns
If the function succeeds, it will return YES. Otherwise NO.

◆ canAddRef

- (BOOL) canAddRef

Get if this object can add ref.

Returns
If can add ref, it will return YES. Otherwise NO.

◆ getBuffer

- (char *) getBuffer

Get the buffer data.

Returns
If the function succeeds, it will return the buffer data.

◆ getBufferLen

- (unsigned int) getBufferLen

Get the buffer length of this data.

Returns
If the function succeeds, it will return the buffer length of this data.

◆ getChannelNum

- (unsigned int) getChannelNum

Get the channel number of this data.

Returns
If the function succeeds, it will return the channel number of this data.

◆ getSampleRate

- (unsigned int) getSampleRate

Get the sample rate of this data.

Returns
If the function succeeds, it will return the sample rate of this data.

◆ releaseData

- (int) releaseData

Release the object, if you has add ref, remeber to call this api to release when you wantn't to use this object.

Returns
If the function succeeds, it will return reference count of this object.