DeviceManager Class
- java.
lang. Object - com.
azure. android. communication. calling. DeviceManager
- com.
public class DeviceManager
Device manager
Method Summary
Modifier and Type | Method and Description |
---|---|
void |
addOnCamerasUpdatedListener(VideoDevicesUpdatedListener listener)
Adds the specified listener to receive OnCamerasUpdated events. CamerasUpdated Event. Occurs when the video devices are added or removed on the current DeviceManager |
void |
finalize()
Called by the garbage collector on an object when garbage collection determines that there are no more references to the object. |
List<Video |
getCameras()
Get the list of currently connected video devices |
void |
removeOnCamerasUpdatedListener(VideoDevicesUpdatedListener listener)
Removes the specified listener to receive OnCamerasUpdated events. CamerasUpdated Event. Occurs when the video devices are added or removed on the current DeviceManager |
Method Details
addOnCamerasUpdatedListener
public void addOnCamerasUpdatedListener(VideoDevicesUpdatedListener listener)
Adds the specified listener to receive OnCamerasUpdated events. CamerasUpdated Event. Occurs when the video devices are added or removed on the current DeviceManager
Parameters:
finalize
protected void finalize()
Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.
getCameras
public List
Get the list of currently connected video devices
removeOnCamerasUpdatedListener
public void removeOnCamerasUpdatedListener(VideoDevicesUpdatedListener listener)
Removes the specified listener to receive OnCamerasUpdated events. CamerasUpdated Event. Occurs when the video devices are added or removed on the current DeviceManager
Parameters: