Class DeviceManager


  • public final class DeviceManager
    extends Object
    Device manager
    • 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 class Object
      • 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