Skip to main content
Version: 12 Dec 2024

Android

NameSpace: MagicLeap

Namespaces

Name
MagicLeap::Android::NDK

Classes

TypeName
structARect
classAndroidCamera
classAndroidCameraManager
classCaptureRequest
structImageCoordinates
structImageDimensions
classJPEGUtility
classMagicLeapCameras
Three Camera Devices are supported: Camera Id 0, Camera Id 1, Camera Id 3. Camera Id 0 and 1 support Camera_Only capture. Camera Id 3 supports Mixed_Reality capture, Virtual_Only capture, Camera_Only capture. Camera Id 0 and Camera Id 1 support a total of 3 streams. Streams are dynamically allocated between Camera Id 0 and Camera Id 1. Camera Id 0 and Camera Id 3 are conflicting devices, a higher priority application using Camera Id 3 will evict client using Camera Id 0. Camera Id 3(Mixed Reality Camera) only supports 1 stream.
structNativeImage
classNativeImageSourceUnsafeUtility
structNativePlane
structNativeYUVPlanes
classPermissions
structSequenceId
structStreamConfiguration
classStreamConfigurationUtility
classYUVUtility

Types

Name
using NDK.Camera.MetadataMetadata

Enums

Name
enumRequestTemplate
{
Invalid = 0, Preview = 1, StillCapture = 2, Record = 3, VideoSnapshot = 4, ZeroShutterLag = 5, Manual = 6
}

Enums Documentation

RequestTemplate

EnumeratorValueDescription
Invalid0
Preview1
StillCapture2
Record3
VideoSnapshot4
ZeroShutterLag5
Manual6

Types Documentation

Metadata

using MagicLeap::Android.Metadata = typedef NDK.Camera.Metadata;