Class DeviceManager
- Object
-
- DeviceManager
-
public final class DeviceManager extends Object
Device manager
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addOnCamerasUpdatedListener(VideoDevicesUpdatedListener listener)
Adds the specified listener to receive OnCamerasUpdated events.protected void
finalize()
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 devicesvoid
removeOnCamerasUpdatedListener(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:
finalize
in 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
-
-