Android NDK API Reference

Modules

Asset
Audio
Bitmap
Camera
Choreographer
Configuration
Dynamic Linker
Font {
Input
Logging
Looper
Media
Memory
Midi
Native Activity
Native Hardware Buffer AHardwareBuffer objects represent chunks of memory that can be accessed by various hardware components in the system.
Native Window ANativeWindow represents the producer end of an image queue.
NdkBinder
Networking
NeuralNetworks
Sensor
Storage
SurfaceTexture
Sync
Tracing

Classes

BnCInterface implementation of IInterface for server (n = native)
BpCInterface implementation of IInterface for client (p = proxy)
ICInterface wrapper analog to IInterface
ScopedAIBinder_DeathRecipient Convenience wrapper.
ScopedAIBinder_Weak Convenience wrapper.
ScopedAParcel Convenience wrapper.
ScopedAStatus Convenience wrapper.
ScopedFileDescriptor Convenience wrapper for a file descriptor.
SharedRefBase analog using std::shared_ptr for internally held refcount
SpAIBinder Represents one strong pointer to an AIBinder object.
ScopedAResource This baseclass owns a single object, used to make various classes RAII.

Structs

AAdditionalInfoEvent
ACameraCaptureFailure Struct to describe a capture failure.
ACameraCaptureSession_captureCallbacks
ACameraCaptureSession_logicalCamera_captureCallbacks This has the same functionality as ACameraCaptureSession_captureCallbacks, with the exception that an onLogicalCameraCaptureCompleted callback is used, instead of onCaptureCompleted, to support logical multi-camera.
ACameraCaptureSession_stateCallbacks
ACameraDevice_StateCallbacks
ACameraIdList Struct to hold list of camera device Ids.
ACameraManager_AvailabilityListener A listener for camera devices becoming available or unavailable to open.
ACameraManager_ExtendedAvailabilityListener A listener for camera devices becoming available/unavailable to open or when the camera access permissions change.
ACameraMetadata_const_entry A single read-only camera metadata entry.
ACameraMetadata_entry A single camera metadata entry.
ACameraMetadata_rational Definition of rational data type in ACameraMetadata.
AColor_xy Color is defined in CIE XYZ coordinates.
ADynamicSensorEvent
AHardwareBuffer_Desc Buffer description.
AHardwareBuffer_Plane Holds data for a single image plane.
AHardwareBuffer_Planes Holds all image planes that contain the pixel data.
AHdrMetadata_cta861_3 CTA 861.3 "HDR Static Metadata Extension" static metadata.
AHdrMetadata_smpte2086 SMPTE ST 2086 "Mastering Display Color Volume" static metadata.
AHeartRateEvent
AImageCropRect Data type describing an cropped rectangle returned by AImage_getCropRect.
AImageReader_BufferRemovedListener
AImageReader_ImageListener
ALogicalCameraCaptureFailure Struct to describe a logical camera capture failure.
AMediaCodecBufferInfo
AMediaCodecOnAsyncNotifyCallback
AMediaDrmByteArray
AMediaDrmKeyStatus
AMediaDrmKeyValuePair Data type containing {key, value} pair.
AMetaDataEvent
ANativeActivity This structure defines the native side of an android.app.NativeActivity.
ANativeActivityCallbacks These are the callbacks the framework makes into a native application.
ANativeWindow_Buffer Struct that represents a windows buffer.
ANeuralNetworksOperandType ANeuralNetworksOperandType describes the type of an operand.
ANeuralNetworksSymmPerChannelQuantParams Parameters for ANEURALNETWORKS_TENSOR_QUANT8_SYMM_PER_CHANNEL operand.
ARect Rectangular window area.
ASensorEvent
ASensorVector A sensor event.
AUncalibratedEvent
AndroidBitmapInfo Bitmap info, see AndroidBitmap_getInfo().
PsshEntry mapping of crypto scheme uuid to the scheme specific data for that scheme
PsshInfo list of crypto schemes and their data
android_dlextinfo Used to pass Android-specific arguments to android_dlopen_ext.
cryptoinfo_pattern_t