|
Agora RTC Objective-C API Reference
Refactor
|
Public Member Functions | |
| virtual void | onLocalAudioTrackStateChanged (LOCAL_AUDIO_STREAM_STATE state, LOCAL_AUDIO_STREAM_REASON reasonCode)=0 |
| virtual void | onLocalAudioTrackError (int errorCode)=0 |
| virtual void | onLocalAudioTrackVolumeIndication (const AudioTrackVolumeInfo *info) |
The observer of the local audio track.
|
inlinevirtual |
|
pure virtual |
Occurs when the state of a local audio track changes.
| state | The state of the local audio track. |
| reasonCode | The error information for a state failure: LOCAL_AUDIO_STREAM_REASON. |
|
pure virtual |
Occurs when the error of a local audio track occurs.
@technical preview
| errorCode | The error code of the local audio track. |
|
inlinevirtual |
Occurs when the per-channel publish volume of a local audio track is available.
@technical preview
This callback is invoked only after volume indication is enabled for the track. The SDK owns info, and the pointer is valid only for the duration of this callback.
| info | The volume information. See AudioTrackVolumeInfo. |