add Camera State Callback
Adds callback which will be notified about camera state changes. Callbacks are invoked on a main thread.
Parameters
camera State Callback
callback to register. Must not be null
. If this callback was already added, nothing happens.