Agora RTC Objective-C API Reference  Refactor
Public Member Functions
IVideoDeviceManagerObserver Class Referenceabstract

Public Member Functions

virtual void onVideoDeviceStateChanged (const char *deviceId, int deviceType, int deviceState)=0
 

Detailed Description

The IVideoDeviceManagerObserver class.

Constructor & Destructor Documentation

◆ ~IVideoDeviceManagerObserver()

virtual ~IVideoDeviceManagerObserver ( )
inlinevirtual

Member Function Documentation

◆ onVideoDeviceStateChanged()

virtual void onVideoDeviceStateChanged ( const char *  deviceId,
int  deviceType,
int  deviceState 
)
pure virtual

Occurs when the device state changes, for example, when a device is added or removed or default device change.

Note
This method applies to Windows only now.
Parameters
deviceIdPointer to the device ID.
deviceTypeDevice type: MEDIA_DEVICE_TYPE.
deviceStateDevice state: MEDIA_DEVICE_STATE_TYPE..