Class DeviceManager
- Object
-
- DeviceManager
-
public final class DeviceManager extends ObjectDevice manager
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddOnCamerasUpdatedListener(VideoDevicesUpdatedListener listener)Adds the specified listener to receive OnCamerasUpdated events.protected voidfinalize()Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.List<VideoDeviceInfo>getCameras()Get the list of currently connected video devicesvoidremoveOnCamerasUpdatedListener(VideoDevicesUpdatedListener listener)Removes the specified listener to receive OnCamerasUpdated events.
-
-
-
Method Detail
-
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.- Overrides:
finalizein classObject
-
getCameras
public List<VideoDeviceInfo> getCameras()
Get the list of currently connected video devices
-
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
-
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
-
-