Agora RTC Objective-C API Reference Refactor

Public Member Functions
ILocalAudioTrackObserver Class Referenceabstract

## Public Member Functions
virtual void | onLocalAudioTrackStateChanged (LOCAL_AUDIO_STREAM_STATE state, LOCAL_AUDIO_STREAM_REASON reasonCode)=0

## Detailed Description

The observer of the local audio track.

## Constructor & Destructor Documentation

## ◆ ~ILocalAudioTrackObserver()

virtual ~ILocalAudioTrackObserver | ( |  | ) |
| inline virtual

## Member Function Documentation

## ◆ onLocalAudioTrackStateChanged()

virtual void onLocalAudioTrackStateChanged | ( | LOCAL_AUDIO_STREAM_STATE | state,
|  | LOCAL_AUDIO_STREAM_REASON | reasonCode
| ) |  |
| pure virtual

Occurs when the state of a local audio track changes.

Parameters

  state | The state of the local audio track.
  reasonCode | The error information for a state failure: LOCAL_AUDIO_STREAM_REASON.