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
onCameraAccessPrioritiesChanged
Called when there is camera access permission change.
reserved[4]
void *
Reserved for future use, please ensure that all entries are set to NULL.

Public functions

__INTRODUCED_IN(30)
Called when a physical camera becomes available.
__INTRODUCED_IN(30)
Called when a physical camera becomes unavailable.

Public attributes

availabilityCallbacks

ACameraManager_AvailabilityCallbacks ACameraManager_ExtendedAvailabilityListener::availabilityCallbacks

onCameraAccessPrioritiesChanged

ACameraManager_AccessPrioritiesChangedCallback ACameraManager_ExtendedAvailabilityListener::onCameraAccessPrioritiesChanged

Called when there is camera access permission change.

reserved

void * ACameraManager_ExtendedAvailabilityListener::reserved[4]

Reserved for future use, please ensure that all entries are set to NULL.

Public functions

__INTRODUCED_IN

ACameraManager_PhysicalCameraAvailabilityCallback onPhysicalCameraAvailable ACameraManager_ExtendedAvailabilityListener::__INTRODUCED_IN(
  30
)

Called when a physical camera becomes available.

__INTRODUCED_IN

ACameraManager_PhysicalCameraAvailabilityCallback onPhysicalCameraUnavailable ACameraManager_ExtendedAvailabilityListener::__INTRODUCED_IN(
  30
)

Called when a physical camera becomes unavailable.