ACameraManager_ExtendedAvailabilityListener
#include <NdkCameraManager.h>
A listener for camera devices becoming available/unavailable to open or when the camera access permissions change.
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_registerExtendedAvailabilityCallback
Public attributes |
|
---|---|
availabilityCallbacks
|
Called when a camera becomes available or unavailable.
|
onCameraAccessPrioritiesChanged
|
Called when there is camera access permission change.
|
onPhysicalCameraAvailable
|
Called when a physical camera becomes available.
|
onPhysicalCameraUnavailable
|
Called when a physical camera becomes unavailable.
|
reserved[4]
|
void *
Reserved for future use, please ensure that all entries are set to NULL.
|
Public attributes
availabilityCallbacks
ACameraManager_AvailabilityCallbacks ACameraManager_ExtendedAvailabilityListener::availabilityCallbacks
Called when a camera becomes available or unavailable.
onCameraAccessPrioritiesChanged
ACameraManager_AccessPrioritiesChangedCallback ACameraManager_ExtendedAvailabilityListener::onCameraAccessPrioritiesChanged
Called when there is camera access permission change.
onPhysicalCameraAvailable
ACameraManager_PhysicalCameraAvailabilityCallback ACameraManager_ExtendedAvailabilityListener::onPhysicalCameraAvailable
Called when a physical camera becomes available.
onPhysicalCameraUnavailable
ACameraManager_PhysicalCameraAvailabilityCallback ACameraManager_ExtendedAvailabilityListener::onPhysicalCameraUnavailable
Called when a physical camera becomes unavailable.
reserved
void * ACameraManager_ExtendedAvailabilityListener::reserved[4]
Reserved for future use, please ensure that all entries are set to NULL.