The torch mode becomes unavailable when the camera device it belongs to becomes
unavailable or other camera resources it needs become busy due to other higher priority
camera activities. The torch mode becomes disabled when it was turned off or when the camera
device it belongs to is no longer in use and other camera resources it needs are no longer
busy. A camera's torch mode is turned off when an application calls CameraManager.setTorchMode(String, boolean) to
turn off the camera's torch mode, or when an application turns on another camera's torch mode
if keeping multiple torch modes on simultaneously is not supported. The torch mode becomes
enabled when it is turned on via CameraManager.setTorchMode(String, boolean).

Causes the current thread to wait until another thread invokes the
notify() method or the
notifyAll() method for this object, or
some other thread interrupts the current thread, or a certain
amount of real time has elapsed.

String: The unique identifier of the camera whose torch mode has been changed.

This value must never be null.

enabled

boolean: The state that the torch mode of the camera has been changed to.
true when the torch mode has become on and available to be turned
off. false when the torch mode has becomes off and available to
be turned on.