ACameraManager_AvailabilityListener
#include <NdkCameraManager.h>
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
void * ACameraManager_AvailabilityListener::context
Optional application context.
onCameraAvailable
ACameraManager_AvailabilityCallback ACameraManager_AvailabilityListener::onCameraAvailable
Called when a camera becomes available.
onCameraUnavailable
ACameraManager_AvailabilityCallback ACameraManager_AvailabilityListener::onCameraUnavailable
Called when a camera becomes unavailable.