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_ERROR errorCode)=0

## Detailed Description

The observer of the local audio track.

## Constructor & Destructor Documentation

## ◆ ~ILocalAudioTrackObserver()

virtual ~ILocalAudioTrackObserver | ( |  | ) |
| inlinevirtual

## Member Function Documentation

## ◆ onLocalAudioTrackStateChanged()

virtual void onLocalAudioTrackStateChanged | ( | LOCAL_AUDIO_STREAM_STATE | state,
|  | LOCAL_AUDIO_STREAM_ERROR | errorCode
| ) |  |
| pure virtual

Occurs when the state of a local audio track changes.

Parameters

  state | The state of the local audio track.
  errorCode | The error information for a state failure: LOCAL_AUDIO_STREAM_ERROR.