ACameraManager_AvailabilityListener
A listener for camera devices becoming available or unavailable to open.
Summary
Cameras become available when they are no longer in use, or when a new removable camera is connected. They become unavailable when some application or service starts using a camera, or when a removable camera is disconnected.
See also: ACameraManager_registerAvailabilityCallback
Public attributes |
|
---|---|
context
|
void *
Optional application context.
|
onCameraAvailable
|
Called when a camera becomes available.
|
onCameraUnavailable
|
Called when a camera becomes unavailable.
|
Public attributes
context
Declared incamera/NdkCameraManager.h
void * ACameraManager_AvailabilityListener::context
Optional application context.
onCameraAvailable
Declared incamera/NdkCameraManager.h
ACameraManager_AvailabilityCallback ACameraManager_AvailabilityListener::onCameraAvailable
Called when a camera becomes available.
onCameraUnavailable
Declared incamera/NdkCameraManager.h
ACameraManager_AvailabilityCallback ACameraManager_AvailabilityListener::onCameraUnavailable
Called when a camera becomes unavailable.