public CameraStateCallback
Notified about state of the camera
void onResume()
Called when camera switches to resumed state and is about to start streaming preview stream.
void onPause()
Called when camera switches to paused state. Listeners should not expect new callbacks from the camera until .onResume is called again.