Skip to main content
Version: 12 Dec 2024

Permissions

Global MLAudioBeginAcousticSceneUpdate ()

  • None

Global MLAudioBeginSpectralAnalysisFromMicCapture (MLAudioSpectralAnalysisTarget target, MLAudioSpectralAnalysisCallback callback, void context, MLHandle out_handle)

  • None

Global MLAudioBeginTraitAnalysisFromMicCapture (MLAudioTraitAnalysisTarget target, MLAudioTraitAnalysisCallback callback, void context, MLHandle out_handle)

  • None

Global MLAudioCheckResource (MLHandle resource, bool *out_is_ready)

  • None

Global MLAudioCreateInputFromMicCapture (MLAudioMicCaptureType mic_capture_type, const MLAudioBufferFormat format, uint32_t buffer_size_in_bytes, MLAudioBufferCallback callback, void context, MLHandle *out_handle)

  • android.permission.RECORD_AUDIO (protection level: dangerous)

Global MLAudioCreateInputFromMixedCapture (const MLAudioBufferFormat format, uint32_t buffer_size, MLAudioBufferCallback callback, void context, MLHandle *out_handle)

  • android.permission.RECORD_AUDIO (protection level: dangerous)

Global MLAudioCreateInputFromVirtualCapture (const MLAudioBufferFormat format, uint32_t buffer_size, MLAudioBufferCallback callback, void context, MLHandle *out_handle)

  • android.permission.RECORD_AUDIO (protection level: dangerous)

Global MLAudioCreateLoadedResource (int file, bool dynamic_decode, MLAudioResourceDiscardedCallback callback, void context, MLHandle out_resource)

  • None

Global MLAudioCreateSoundWithBufferedOutput (const MLAudioBufferFormat format, uint32_t buffer_size_in_bytes, MLAudioBufferCallback callback, void context, MLHandle *out_handle)

  • None

Global MLAudioCreateSoundWithLoadedFile (int file, bool auto_destroy, bool dynamic_decode, MLHandle *out_handle)

  • None

Global MLAudioCreateSoundWithLoadedResource (MLHandle resource, bool auto_destroy, MLHandle *out_handle)

  • None

Global MLAudioCreateSoundWithStreamedFile (int file, bool auto_destroy, MLHandle *out_handle)

  • None

Global MLAudioCreateSoundWithStreamedResource (MLHandle resource, bool auto_destroy, MLHandle *out_handle)

  • None

Global MLAudioCreateStreamedResource (int file, MLAudioResourceDiscardedCallback callback, void context, MLHandle out_resource)

  • None

Global MLAudioDestroyInput (MLHandle handle)

  • None

Global MLAudioDestroyResource (MLHandle resource)

  • None

Global MLAudioDestroySound (MLHandle handle)

  • None

Global MLAudioEndAcousticSceneUpdate ()

  • None

Global MLAudioEndSpectralAnalysis (MLHandle handle)

  • None

Global MLAudioEndTraitAnalysis (MLHandle handle)

  • None

Global MLAudioGetAcousticSceneDispersionDefault (MLAudioDispersionProperties *out_properties)

  • None

Global MLAudioGetAcousticSceneMapEnable (bool *out_is_enabled)

  • None

Global MLAudioGetAcousticSceneReverbDefault (MLAudioReverbProperties *out_properties)

  • None

Global MLAudioGetAcousticSceneTransmissionDefault (MLAudioMultibandLevel *out_transmission)

  • None

Global MLAudioGetBufferedInputDefaults (uint32_t channel_count, uint32_t samples_per_second, MLAudioBufferFormat out_format, uint32_t out_recommended_size_in_bytes, uint32_t *out_min_size_in_bytes)

  • None

Global MLAudioGetBufferedInputLatency (MLHandle handle, float *out_latency_in_msec)

  • None

Global MLAudioGetBufferedOutputDefaults (uint32_t channel_count, uint32_t samples_per_second, float max_pitch_change, MLAudioBufferFormat out_format, uint32_t out_recommended_size_in_bytes, uint32_t *out_min_size_in_bytes)

  • None

Global MLAudioGetBufferedOutputFramesPlayed (MLHandle handle, uint64_t *out_frames_played)

  • None

Global MLAudioGetBufferedOutputLatency (MLHandle handle, float *out_latency_in_msec)

  • None

Global MLAudioGetChangedAcousticMap (uint32_t prev_map_tag, uint8_t *out_map_data, uint32_t out_map_size_in_bytes, uint32_t *out_map_tag)

  • None

Global MLAudioGetInputBuffer (MLHandle handle, MLAudioBuffer *out_buf)

  • None

Global MLAudioGetInputState (MLHandle handle, MLAudioState *out_state)

  • None

Global MLAudioGetMasterVolume (float *out_volume)

  • None

Global MLAudioGetMicMute (bool *out_is_muted)

  • android.permission.RECORD_AUDIO (protection level: dangerous)

Global MLAudioGetOutputBuffer (MLHandle handle, MLAudioBuffer *out_buf)

  • None

Global MLAudioGetOutputDevice (MLAudioOutputDevice *out_current_device)

  • None

Global MLAudioGetOutputMute (bool *out_is_muted)

  • None

Global MLAudioGetResourceSize (MLHandle resource, uint32_t *out_size_in_bytes)

  • None

Global MLAudioGetSoundBypassesMasterVolume (MLHandle handle, bool *out_is_bypassing)

  • None

Global MLAudioGetSoundFormat (MLHandle handle, MLAudioBufferFormat *out_format)

  • None

Global MLAudioGetSoundLooping (MLHandle handle, bool *out_is_looping)

  • None

Global MLAudioGetSoundMute (MLHandle handle, bool *out_is_muted)

  • None

Global MLAudioGetSoundPitch (MLHandle handle, float *out_pitch)

  • None

Global MLAudioGetSoundState (MLHandle handle, MLAudioState *out_state)

  • None

Global MLAudioGetSoundVolumeDb (MLHandle handle, float *out_volume)

  • None

Global MLAudioGetSoundVolumeLinear (MLHandle handle, float *out_volume)

  • None

Global MLAudioGetSpatialRaycastRequests (MLAudioRaycastRequest *out_raycast_requests, uint32_t out_request_count)

  • None

Global MLAudioGetSpatialSoundBillboarding (MLHandle handle, bool *out_is_billboarding)

  • None

Global MLAudioGetSpatialSoundDirection (MLHandle handle, uint32_t channel, MLQuaternionf *out_direction)

  • None

Global MLAudioGetSpatialSoundDirectLevel (MLHandle handle, uint32_t channel, MLAudioMultibandLevel *out_level)

  • None

Global MLAudioGetSpatialSoundDispersionSendLevel (MLHandle handle, uint32_t channel, MLAudioMultibandLevel *out_level)

  • None

Global MLAudioGetSpatialSoundDistanceAttenuation (MLHandle handle, uint32_t channel, MLAudioSpatialSoundDistanceProperties *out_properties)

  • None

Global MLAudioGetSpatialSoundEnable (MLHandle handle, bool *out_is_enabled)

  • None

Global MLAudioGetSpatialSoundHeadRelative (MLHandle handle, bool *out_is_head_relative)

  • None

Global MLAudioGetSpatialSoundIndirectLevel (MLHandle handle, uint32_t channel, MLAudioMultibandLevel *out_level)

  • None

Global MLAudioGetSpatialSoundObstruction (MLHandle handle, uint32_t channel, MLAudioObstruction out_left_ear, MLAudioObstruction out_right_ear)

  • None

Global MLAudioGetSpatialSoundObstructionOverride (MLHandle handle, MLAudioMultibandLevel *out_override)

  • None

Global MLAudioGetSpatialSoundPosition (MLHandle handle, uint32_t channel, MLVec3f *out_position)

  • None

Global MLAudioGetSpatialSoundRadiation (MLHandle handle, uint32_t channel, MLAudioSpatialSoundRadiationProperties *out_properties)

  • None

Global MLAudioGetSpatialSoundReverbSendLevel (MLHandle handle, uint32_t channel, MLAudioMultibandLevel *out_level)

  • None

Global MLAudioGetSpectralAnalysis (MLHandle handle, MLAudioSpectralAnalysis *out_values)

  • None

Global MLAudioGetStreamedFileOffset (MLHandle handle, uint32_t *out_offset_in_msec)

  • None

Global MLAudioGetTraitAnalysis (MLHandle handle, float *out_value)

  • None

Global MLAudioPauseSound (MLHandle handle)

  • None

Global MLAudioRefreshResource (MLHandle resource, int file)

  • None

Global MLAudioReleaseInputBuffer (MLHandle handle)

  • None

Global MLAudioReleaseOutputBuffer (MLHandle handle)

  • None

Global MLAudioResetAcousticScene ()

  • None

Global MLAudioResumeSound (MLHandle handle)

  • None

Global MLAudioSetAcousticSceneDispersionDefault (const MLAudioDispersionProperties *properties)

  • None

Global MLAudioSetAcousticSceneMapEnable (bool is_enabled)

  • None

Global MLAudioSetAcousticSceneReverbDefault (const MLAudioReverbProperties *properties)

  • None

Global MLAudioSetAcousticSceneTransmissionDefault (const MLAudioMultibandLevel *transmission)

  • None

Global MLAudioSetMasterVolumeCallback (MLAudioMasterVolumeChangedCallback callback, void *context)

  • None

Global MLAudioSetMediaEventCallback (MLAudioMediaEventCallback callback, void *context)

  • None

Global MLAudioSetMicMute (bool is_muted)

  • android.permission.RECORD_AUDIO (protection level: dangerous)

Global MLAudioSetMicMuteCallback (MLAudioMicMuteCallback callback, void *context)

  • android.permission.RECORD_AUDIO (protection level: dangerous)

Global MLAudioSetOutputDeviceCallback (MLAudioOutputDeviceChangedCallback callback, void *context)

  • None

Global MLAudioSetOutputMuteCallback (MLAudioOutputMuteChangedCallback callback, void *context)

  • None

Global MLAudioSetSoundBypassesMasterVolume (MLHandle handle, bool is_bypassing)

  • None

Global MLAudioSetSoundEventCallback (MLHandle handle, MLAudioSoundEventCallback callback, void *context)

  • None

Global MLAudioSetSoundLooping (MLHandle handle, bool is_looping)

  • None

Global MLAudioSetSoundMute (MLHandle handle, bool is_muted)

  • None

Global MLAudioSetSoundPitch (MLHandle handle, float pitch)

  • None

Global MLAudioSetSoundVolumeDb (MLHandle handle, float volume)

  • None

Global MLAudioSetSoundVolumeLinear (MLHandle handle, float volume)

  • None

Global MLAudioSetSpatialRaycastResults (MLAudioRaycastResult *raycast_results, uint32_t result_count)

  • None

Global MLAudioSetSpatialSoundBillboarding (MLHandle handle, bool is_billboarding)

  • None

Global MLAudioSetSpatialSoundDirection (MLHandle handle, uint32_t channel, const MLQuaternionf *direction)

  • None

Global MLAudioSetSpatialSoundDirectLevel (MLHandle handle, uint32_t channel, const MLAudioMultibandLevel *level)

  • None

Global MLAudioSetSpatialSoundDispersionSendLevel (MLHandle handle, uint32_t channel, const MLAudioMultibandLevel *level)

  • None

Global MLAudioSetSpatialSoundDistanceAttenuation (MLHandle handle, uint32_t channel, const MLAudioSpatialSoundDistanceProperties *properties)

  • None

Global MLAudioSetSpatialSoundEnable (MLHandle handle, bool is_enabled)

  • None

Global MLAudioSetSpatialSoundHeadRelative (MLHandle handle, bool is_head_relative)

  • None

Global MLAudioSetSpatialSoundIndirectLevel (MLHandle handle, uint32_t channel, const MLAudioMultibandLevel *level)

  • None

Global MLAudioSetSpatialSoundObstruction (MLHandle handle, uint32_t channel, const MLAudioObstruction left_ear, const MLAudioObstruction right_ear)

  • None

Global MLAudioSetSpatialSoundObstructionOverride (MLHandle handle, const MLAudioMultibandLevel *override)

  • None

Global MLAudioSetSpatialSoundPosition (MLHandle handle, uint32_t channel, const MLVec3f *position)

  • None

Global MLAudioSetSpatialSoundRadiation (MLHandle handle, uint32_t channel, const MLAudioSpatialSoundRadiationProperties *properties)

  • None

Global MLAudioSetSpatialSoundReverbSendLevel (MLHandle handle, uint32_t channel, const MLAudioMultibandLevel *level)

  • None

Global MLAudioSetStreamedFileOffset (MLHandle handle, uint32_t offset_in_msec)

  • None

Global MLAudioStartInput (MLHandle handle)

  • None

Global MLAudioStartSound (MLHandle handle)

  • None

Global MLAudioStopInput (MLHandle handle)

  • None

Global MLAudioStopSound (MLHandle handle)

  • None

Global MLCameraCaptureCallbacksInit (MLCameraCaptureCallbacks *inout_capture_callbacks)

  • None

Global MLCameraCaptureConfigInit (MLCameraCaptureConfig *inout_config)

  • None

Global MLCameraCaptureImage (MLCameraContext context, uint32_t num_images)

  • None

Global MLCameraCapturePreviewStart (MLCameraContext context)

  • None

Global MLCameraCapturePreviewStop (MLCameraContext context)

  • None

Global MLCameraCaptureVideoStart (MLCameraContext context)

  • None

Global MLCameraCaptureVideoStop (MLCameraContext context)

  • None

Global MLCameraConnect (const MLCameraConnectContext input_context, MLCameraContext out_context)

  • android.permission.CAMERA (protection level: dangerous)

Global MLCameraConnectContextInit (MLCameraConnectContext *inout_context)

  • None

Global MLCameraDeInit ()

  • None

Global MLCameraDeviceAvailabilityStatusCallbacksInit (MLCameraDeviceAvailabilityStatusCallbacks *inout_device_availability_status_callbacks)

  • None

Global MLCameraDeviceStatusCallbacksInit (MLCameraDeviceStatusCallbacks *inout_device_status_callbacks)

  • None

Global MLCameraDisconnect (MLCameraContext context)

  • None

Global MLCameraGetCameraCharacteristics (MLCameraContext context, MLHandle *out_characteristics_handle)

  • None

Global MLCameraGetDeviceAvailabilityStatus (MLCameraIdentifier cam_id, bool *out_device_availability_status)

  • None

Global MLCameraGetDeviceStatus (MLCameraContext context, uint32_t *out_device_status)

  • None

Global MLCameraGetErrorCode (MLCameraContext context, MLCameraError *out_error_code)

  • None

Global MLCameraGetNumSupportedStreams (MLCameraContext context, uint32_t *out_num_supported_streams)

  • None

Global MLCameraGetStreamCaps (MLCameraContext context, const uint32_t stream_index, uint32_t inout_num_stream_caps, MLCameraCaptureStreamCaps inout_stream_caps)

  • None

Global MLCameraInit (const MLCameraDeviceAvailabilityStatusCallbacks device_availability_status_callbacks, void user_data)

  • android.permission.CAMERA (protection level: dangerous)

Global MLCameraMetadataGetAFDistanceRangeRequestMetadata (MLHandle request_handle, float out_data[2])

  • None

Global MLCameraMetadataGetAFDistanceRangeResultMetadata (MLHandle result_handle, float out_data[2])

  • None

Global MLCameraMetadataGetColorCorrectionAberrationModeRequestMetadata (MLHandle request_handle, MLCameraMetadataColorCorrectionAberrationMode *out_data)

  • None

Global MLCameraMetadataGetColorCorrectionAberrationModeResultMetadata (MLHandle result_handle, MLCameraMetadataColorCorrectionAberrationMode *out_data)

  • None

Global MLCameraMetadataGetColorCorrectionAvailableAberrationModes (MLHandle characteristics_handle, MLCameraMetadataColorCorrectionAberrationMode *out_data, uint32_t out_count)

  • None

Global MLCameraMetadataGetColorCorrectionGainsRequestMetadata (MLHandle request_handle, float out_data[4])

  • None

Global MLCameraMetadataGetColorCorrectionGainsResultMetadata (MLHandle result_handle, float out_data[4])

  • None

Global MLCameraMetadataGetColorCorrectionModeRequestMetadata (MLHandle request_handle, MLCameraMetadataColorCorrectionMode *out_data)

  • None

Global MLCameraMetadataGetColorCorrectionModeResultMetadata (MLHandle result_handle, MLCameraMetadataColorCorrectionMode *out_data)

  • None

Global MLCameraMetadataGetColorCorrectionTransformRequestMetadata (MLHandle request_handle, MLCameraMetadataRational out_data[3][3])

  • None

Global MLCameraMetadataGetColorCorrectionTransformResultMetadata (MLHandle result_handle, MLCameraMetadataRational out_data[3][3])

  • None

Global MLCameraMetadataGetControlAEAntibandingModeRequestMetadata (MLHandle request_handle, MLCameraMetadataControlAEAntibandingMode *out_data)

  • None

Global MLCameraMetadataGetControlAEAntibandingModeResultMetadata (MLHandle result_handle, MLCameraMetadataControlAEAntibandingMode *out_data)

  • None

Global MLCameraMetadataGetControlAEAvailableAntibandingModes (MLHandle characteristics_handle, MLCameraMetadataControlAEAntibandingMode *out_data, uint32_t out_count)

  • None

Global MLCameraMetadataGetControlAEAvailableModes (MLHandle characteristics_handle, MLCameraMetadataControlAEMode *out_data, uint32_t out_count)

  • None

Global MLCameraMetadataGetControlAECompensationRange (MLHandle characteristics_handle, int32_t out_data[2])

  • None

Global MLCameraMetadataGetControlAECompensationStep (MLHandle characteristics_handle, MLCameraMetadataRational *out_data)

  • None

Global MLCameraMetadataGetControlAEExposureCompensationRequestMetadata (MLHandle request_handle, int32_t *out_data)

  • None

Global MLCameraMetadataGetControlAEExposureCompensationResultMetadata (MLHandle result_handle, int32_t *out_data)

  • None

Global MLCameraMetadataGetControlAELockAvailable (MLHandle characteristics_handle, MLCameraMetadataControlAELock *out_data)

  • None

Global MLCameraMetadataGetControlAELockRequestMetadata (MLHandle request_handle, MLCameraMetadataControlAELock *out_data)

  • None

Global MLCameraMetadataGetControlAELockResultMetadata (MLHandle result_handle, MLCameraMetadataControlAELock *out_data)

  • None

Global MLCameraMetadataGetControlAEMaxRegions (MLHandle characteristics_handle, int32_t *out_data)

  • None

Global MLCameraMetadataGetControlAEModeRequestMetadata (MLHandle request_handle, MLCameraMetadataControlAEMode *out_data)

  • None

Global MLCameraMetadataGetControlAEModeResultMetadata (MLHandle result_handle, MLCameraMetadataControlAEMode *out_data)

  • None

Global MLCameraMetadataGetControlAERegionsRequestMetadata (MLHandle request_handle, int32_t out_data[3][5], uint32_t *out_count)

  • None

Global MLCameraMetadataGetControlAERegionsResultMetadata (MLHandle result_handle, int32_t out_data[3][5], uint32_t *out_count)

  • None

Global MLCameraMetadataGetControlAEStateResultMetadata (MLHandle result_handle, MLCameraMetadataControlAEState *out_data)

  • None

Global MLCameraMetadataGetControlAETargetFPSRangeResultMetadata (MLHandle result_handle, int32_t out_data[2])

  • None

Global MLCameraMetadataGetControlAFAvailableModes (MLHandle characteristics_handle, MLCameraMetadataControlAFMode *out_data, uint32_t out_count)

  • None

Global MLCameraMetadataGetControlAFMaxRegions (MLHandle characteristics_handle, int32_t *out_data)

  • None

Global MLCameraMetadataGetControlAFModeRequestMetadata (MLHandle request_handle, MLCameraMetadataControlAFMode *out_data)

  • None

Global MLCameraMetadataGetControlAFModeResultMetadata (MLHandle result_handle, MLCameraMetadataControlAFMode *out_data)

  • None

Global MLCameraMetadataGetControlAFRegionsRequestMetadata (MLHandle request_handle, int32_t out_data[3][5], uint32_t *out_count)

  • None

Global MLCameraMetadataGetControlAFRegionsResultMetadata (MLHandle result_handle, int32_t out_data[3][5], uint32_t *out_count)

  • None

Global MLCameraMetadataGetControlAFSceneChangeResultMetadata (MLHandle result_handle, MLCameraMetadataControlAFSceneChange *out_data)

  • None

Global MLCameraMetadataGetControlAFStateResultMetadata (MLHandle result_handle, MLCameraMetadataControlAFState *out_data)

  • None

Global MLCameraMetadataGetControlAFTriggerRequestMetadata (MLHandle request_handle, MLCameraMetadataControlAFTrigger *out_data)

  • None

Global MLCameraMetadataGetControlAFTriggerResultMetadata (MLHandle result_handle, MLCameraMetadataControlAFTrigger *out_data)

  • None

Global MLCameraMetadataGetControlAvailableEffectModes (MLHandle characteristics_handle, MLCameraMetadataControlEffectMode *out_data, uint32_t out_count)

  • None

Global MLCameraMetadataGetControlAvailableModes (MLHandle characteristics_handle, MLCameraMetadataControlMode *out_data, uint32_t out_count)

  • None

Global MLCameraMetadataGetControlAvailableSceneModes (MLHandle characteristics_handle, MLCameraMetadataControlSceneMode *out_data, uint32_t out_count)

  • None

Global MLCameraMetadataGetControlAWBAvailableModes (MLHandle characteristics_handle, MLCameraMetadataControlAWBMode *out_data, uint32_t out_count)

  • None

Global MLCameraMetadataGetControlAWBLockAvailable (MLHandle characteristics_handle, MLCameraMetadataControlAWBLock *out_data)

  • None

Global MLCameraMetadataGetControlAWBLockRequestMetadata (MLHandle request_handle, MLCameraMetadataControlAWBLock *out_data)

  • None

Global MLCameraMetadataGetControlAWBLockResultMetadata (MLHandle result_handle, MLCameraMetadataControlAWBLock *out_data)

  • None

Global MLCameraMetadataGetControlAWBModeRequestMetadata (MLHandle request_handle, MLCameraMetadataControlAWBMode *out_data)

  • None

Global MLCameraMetadataGetControlAWBModeResultMetadata (MLHandle result_handle, MLCameraMetadataControlAWBMode *out_data)

  • None

Global MLCameraMetadataGetControlAWBStateResultMetadata (MLHandle result_handle, MLCameraMetadataControlAWBState *out_data)

  • None

Global MLCameraMetadataGetControlEffectModeRequestMetadata (MLHandle request_handle, MLCameraMetadataControlEffectMode *out_data)

  • None

Global MLCameraMetadataGetControlEffectModeResultMetadata (MLHandle result_handle, MLCameraMetadataControlEffectMode *out_data)

  • None

Global MLCameraMetadataGetControlExposureUpperTimeLimitRequestMetadata (MLHandle request_handle, int64_t *out_data)

  • None

Global MLCameraMetadataGetControlExposureUpperTimeLimitResultMetadata (MLHandle result_handle, int64_t *out_data)

  • None

Global MLCameraMetadataGetControlForceApplyModeRequestMetadata (MLHandle request_handle, MLCameraMetadataControlForceApplyMode *out_data)

  • None

Global MLCameraMetadataGetControlForceApplyModeResultMetadata (MLHandle result_handle, MLCameraMetadataControlForceApplyMode *out_data)

  • None

Global MLCameraMetadataGetControlModeRequestMetadata (MLHandle request_handle, MLCameraMetadataControlMode *out_data)

  • None

Global MLCameraMetadataGetControlModeResultMetadata (MLHandle result_handle, MLCameraMetadataControlMode *out_data)

  • None

Global MLCameraMetadataGetControlSceneModeRequestMetadata (MLHandle request_handle, MLCameraMetadataControlSceneMode *out_data)

  • None

Global MLCameraMetadataGetControlSceneModeResultMetadata (MLHandle result_handle, MLCameraMetadataControlSceneMode *out_data)

  • None

Global MLCameraMetadataGetJpegGPSCoordinatesRequestMetadata (MLHandle request_handle, double out_data[3])

  • None

Global MLCameraMetadataGetJpegGPSCoordinatesResultMetadata (MLHandle result_handle, double out_data[3])

  • None

Global MLCameraMetadataGetJpegGPSTimestampRequestMetadata (MLHandle request_handle, int64_t *out_data)

  • None

Global MLCameraMetadataGetJpegGPSTimestampResultMetadata (MLHandle result_handle, int64_t *out_data)

  • None

Global MLCameraMetadataGetJpegQualityRequestMetadata (MLHandle request_handle, uint8_t *out_data)

  • None

Global MLCameraMetadataGetJpegQualityResultMetadata (MLHandle result_handle, uint8_t *out_data)

  • None

Global MLCameraMetadataGetJpegThumbnailSizeRequestMetadata (MLHandle request_handle, MLCameraMetadataJpegThumbnailSize *out_data)

  • None

Global MLCameraMetadataGetJpegThumbnailSizeResultMetadata (MLHandle result_handle, MLCameraMetadataJpegThumbnailSize *out_data)

  • None

Global MLCameraMetadataGetLensFocusDistanceRequestMetadata (MLHandle request_handle, float *out_data)

  • None

Global MLCameraMetadataGetLensFocusDistanceResultMetadata (MLHandle result_handle, float *out_data)

  • None

Global MLCameraMetadataGetLensInfoHyperfocalDistance (MLHandle characteristics_handle, float *out_data)

  • None

Global MLCameraMetadataGetLensInfoMinimumFocusDistance (MLHandle characteristics_handle, float *out_data)

  • None

Global MLCameraMetadataGetLensInfoMinimumFocusDistanceIncrement (MLHandle characteristics_handle, float *out_data)

  • None

Global MLCameraMetadataGetLensStateResultMetadata (MLHandle result_handle, MLCameraMetadataLensState *out_data)

  • None

Global MLCameraMetadataGetPostRawSensitivityBoostRange (MLHandle characteristics_handle, int32_t out_data[2])

  • None

Global MLCameraMetadataGetPostRawSensitivityBoostRequestMetadata (MLHandle request_handle, int32_t *out_data)

  • None

Global MLCameraMetadataGetPostRawSensitivityBoostResultMetadata (MLHandle result_handle, int32_t *out_data)

  • None

Global MLCameraMetadataGetSensorExposureTimeRequestMetadata (MLHandle request_handle, int64_t *out_data)

  • None

Global MLCameraMetadataGetSensorExposureTimeResultMetadata (MLHandle result_handle, int64_t *out_data)

  • None

Global MLCameraMetadataGetSensorFrameDurationResultMetadata (MLHandle result_handle, int64_t *out_data)

  • None

Global MLCameraMetadataGetSensorInfoActiveArraySize (MLHandle characteristics_handle, int32_t out_data[4])

  • None

Global MLCameraMetadataGetSensorInfoSensitivityRange (MLHandle characteristics_handle, int32_t out_data[2])

  • None

Global MLCameraMetadataGetSensorOrientation (MLHandle characteristics_handle, int32_t *out_data)

  • None

Global MLCameraMetadataGetSensorSensitivityRequestMetadata (MLHandle request_handle, int32_t *out_data)

  • None

Global MLCameraMetadataGetSensorSensitivityResultMetadata (MLHandle result_handle, int32_t *out_data)

  • None

Global MLCameraMetadataGetSensorTimestampResultMetadata (MLHandle result_handle, int64_t *out_data)

  • None

Global MLCameraMetadataSetAFDistanceRange (MLHandle request_handle, const float data[2])

  • None

Global MLCameraMetadataSetColorCorrectionAberrationMode (MLHandle request_handle, const MLCameraMetadataColorCorrectionAberrationMode *data)

  • None

Global MLCameraMetadataSetColorCorrectionGains (MLHandle request_handle, const float data[4])

  • None

Global MLCameraMetadataSetColorCorrectionMode (MLHandle request_handle, const MLCameraMetadataColorCorrectionMode *data)

  • None

Global MLCameraMetadataSetColorCorrectionTransform (MLHandle request_handle, const MLCameraMetadataRational data[3][3])

  • None

Global MLCameraMetadataSetControlAEAntibandingMode (MLHandle request_handle, const MLCameraMetadataControlAEAntibandingMode *data)

  • None

Global MLCameraMetadataSetControlAEExposureCompensation (MLHandle request_handle, const int32_t *data)

  • None

Global MLCameraMetadataSetControlAELock (MLHandle request_handle, const MLCameraMetadataControlAELock *data)

  • None

Global MLCameraMetadataSetControlAEMode (MLHandle request_handle, const MLCameraMetadataControlAEMode *data)

  • None

Global MLCameraMetadataSetControlAERegions (MLHandle request_handle, const int32_t data[3][5], const uint32_t count)

  • None

Global MLCameraMetadataSetControlAFMode (MLHandle request_handle, const MLCameraMetadataControlAFMode *data)

  • None

Global MLCameraMetadataSetControlAFRegions (MLHandle request_handle, const int32_t data[3][5], const uint32_t count)

  • None

Global MLCameraMetadataSetControlAFTrigger (MLHandle request_handle, const MLCameraMetadataControlAFTrigger *data)

  • None

Global MLCameraMetadataSetControlAWBLock (MLHandle request_handle, const MLCameraMetadataControlAWBLock *data)

  • None

Global MLCameraMetadataSetControlAWBMode (MLHandle request_handle, const MLCameraMetadataControlAWBMode *data)

  • None

Global MLCameraMetadataSetControlEffectMode (MLHandle request_handle, const MLCameraMetadataControlEffectMode *data)

  • None

Global MLCameraMetadataSetControlExposureUpperTimeLimit (MLHandle request_handle, const int64_t *data)

  • None

Global MLCameraMetadataSetControlForceApplyMode (MLHandle request_handle, const MLCameraMetadataControlForceApplyMode *data)

  • None

Global MLCameraMetadataSetControlMode (MLHandle request_handle, const MLCameraMetadataControlMode *data)

  • None

Global MLCameraMetadataSetControlSceneMode (MLHandle request_handle, const MLCameraMetadataControlSceneMode *data)

  • None

Global MLCameraMetadataSetJpegGPSCoordinates (MLHandle request_handle, const double data[3])

  • None

Global MLCameraMetadataSetJpegGPSTimestamp (MLHandle request_handle, const int64_t *data)

  • None

Global MLCameraMetadataSetJpegQuality (MLHandle request_handle, const uint8_t *data)

  • None

Global MLCameraMetadataSetJpegThumbnailSize (MLHandle request_handle, const MLCameraMetadataJpegThumbnailSize *data)

  • None

Global MLCameraMetadataSetLensFocusDistance (MLHandle request_handle, const float *data)

  • None

Global MLCameraMetadataSetPostRawSensitivityBoost (MLHandle request_handle, const int32_t *data)

  • None

Global MLCameraMetadataSetSensorExposureTime (MLHandle request_handle, const int64_t *data)

  • None

Global MLCameraMetadataSetSensorSensitivity (MLHandle request_handle, const int32_t *data)

  • None

Global MLCameraPreCaptureAEAWB (MLCameraContext context)

  • None

Global MLCameraPrepareCapture (MLCameraContext context, const MLCameraCaptureConfig config, MLHandle out_request_handle)

  • None

Global MLCameraSetCaptureCallbacks (MLCameraContext context, const MLCameraCaptureCallbacks capture_callbacks, void data)

  • None

Global MLCameraSetDeviceStatusCallbacks (MLCameraContext context, const MLCameraDeviceStatusCallbacks device_status_callbacks, void data)

  • None

Global MLCameraUpdateCaptureSettings (MLCameraContext context)

  • None

Global MLControllerCreateEx (const MLControllerConfiguration mode, MLHandle out_handle)

  • None

Global MLControllerDestroy (MLHandle tracker)

  • None

Global MLControllerGetState (MLHandle handle, struct MLControllerSystemState *out_state)

  • None

Global MLControllerGetStateEx (MLHandle handle, MLControllerSystemStateEx *out_state)

  • None

Global MLCVCameraGetFramePose (MLHandle camera_handle, MLHandle head_handle, MLCVCameraID id, MLTime camera_timestamp, MLTransform *out_transform)

  • None

Global MLCVCameraTrackingCreate (MLHandle *out_handle)

  • android.permission.CAMERA (protection level: dangerous)

Global MLCVCameraTrackingDestroy (MLHandle camera_handle)

  • None

Global MLDepthCameraCapabilityFilterInit (MLDepthCameraCapabilityFilter *inout_handle)

  • None

Global MLDepthCameraConnect (const MLDepthCameraSettings settings, MLHandle out_handle)

  • com.magicleap.permission.DEPTH_CAMERA (protection level: dangerous)

Global MLDepthCameraDisconnect (MLHandle handle)

  • None

Global MLDepthCameraGetCapabilities (MLHandle handle, const MLDepthCameraCapabilityFilter filter, MLDepthCameraCapabilityList out_caps)

  • None

Global MLDepthCameraGetLatestDepthData (MLHandle handle, uint64_t timeout_ms, MLDepthCameraData *out_data)

  • None

Global MLDepthCameraReleaseCapabilities (MLHandle handle, MLDepthCameraCapabilityList *out_caps)

  • None

Global MLDepthCameraReleaseDepthData (MLHandle handle, MLDepthCameraData *depth_camera_data)

  • None

Global MLDepthCameraSettingsInit (MLDepthCameraSettings *inout_handle)

  • None

Global MLDepthCameraUpdateSettings (MLHandle handle, const MLDepthCameraSettings *settings)

  • None

Global MLEyeCalibrationCreateClient (MLHandle *out_handle)

  • None

Global MLEyeCalibrationDestroyClient (MLHandle handle)

  • None

Global MLEyeCalibrationGetState (MLHandle handle, MLEyeCalibrationState *out_state)

  • None

Global MLEyeCameraConnect (const MLEyeCameraSettings settings, MLHandle out_handle)

  • com.magicleap.permission.EYE_CAMERA (protection level: dangerous)

Global MLEyeCameraDisconnect (MLHandle handle)

  • None

Global MLEyeCameraGetLatestCameraData (MLHandle handle, uint64_t timeout_ms, MLEyeCameraData *out_data)

  • None

Global MLEyeCameraReleaseCameraData (MLHandle handle, MLEyeCameraData *eye_camera_data)

  • None

Global MLEyeCameraSettingsInit (MLEyeCameraSettings *inout_settings)

  • None

Global MLEyeCameraUpdateSettings (MLHandle handle, const MLEyeCameraSettings *settings)

  • None

Global MLEyeTrackingCreate (MLHandle *out_handle)

  • com.magicleap.permission.EYE_TRACKING (protection level: dangerous)

Global MLEyeTrackingDestroy (MLHandle eye_tracker)

  • None

Global MLEyeTrackingGetStateEx (MLHandle eye_tracker, MLEyeTrackingStateEx *out_state)

  • None

Global MLEyeTrackingGetStaticData (MLHandle eye_tracker, MLEyeTrackingStaticData *out_data)

  • None

Global MLFacialExpressionCreateClient (const MLFacialExpressionSettings settings, MLHandle out_handle)

  • com.magicleap.permission.FACIAL_EXPRESSION (protection level: dangerous)

Global MLFacialExpressionDestroyClient (MLHandle handle)

  • None

Global MLFacialExpressionEyeDataInit (MLFacialExpressionEyeData *inout_eye_data)

  • None

Global MLFacialExpressionGetEyeData (MLHandle handle, MLFacialExpressionEyeData *out_eye_data)

  • None

Global MLFacialExpressionGetResultString (MLResult result)

  • None

Global MLFacialExpressionSettingsInit (MLFacialExpressionSettings *inout_settings)

  • None

Global MLFacialExpressionUpdateSettings (MLHandle handle, const MLFacialExpressionSettings *settings)

  • None

Global MLGazeRecognitionCreate (MLHandle *out_handle)

  • com.magicleap.permission.EYE_TRACKING (protection level: dangerous)

Global MLGazeRecognitionDestroy (MLHandle handle)

  • None

Global MLGazeRecognitionGetState (MLHandle handle, MLGazeRecognitionState *out_state)

  • None

Global MLGazeRecognitionGetStaticData (MLHandle handle, MLGazeRecognitionStaticData *out_data)

  • None

Global MLGazeRecognitionStateInit (MLGazeRecognitionState *inout_state)

  • None

Global MLGazeRecognitionStaticDataInit (MLGazeRecognitionStaticData *inout_state)

  • None

Global MLGestureClassificationCreate (MLHandle *out_handle)

  • com.magicleap.permission.HAND_TRACKING (protection level: normal)

Global MLGestureClassificationDestroy (MLHandle handle)

  • None

Global MLGestureClassificationGetData (MLHandle handle, MLGestureClassificationData *out_data)

  • None

Global MLGestureClassificationGetStaticData (MLHandle handle, MLGestureClassificationStaticData *out_data)

  • None

Global MLGetResultString (MLResult result_code)

  • None

Global MLGetVersion ()

  • None

Global MLGetVersionName ()

  • None

Global MLGlobalGetResultString (MLResult result_code)

  • None

Global MLGraphicsBeginFrameEx (MLHandle graphics_client, const MLGraphicsFrameParamsEx params, MLGraphicsFrameInfo out_frame_info)

  • None

Global MLGraphicsCreateClientGL (const MLGraphicsOptions options, MLHandle opengl_context, MLHandle out_graphics_client)

  • None

Global MLGraphicsCreateClientVk (const MLGraphicsOptions options, const VkInstance vulkan_instance, const VkPhysicalDevice vulkan_physical_device, const VkDevice vulkan_logical_device, MLHandle out_graphics_client)

  • None

Global MLGraphicsDestroyClient (MLHandle *inout_graphics_client)

  • None

Global MLGraphicsEnableBlobCacheGL (const char *filename, uint32_t max_entry_bytes, uint32_t max_total_bytes)

  • None

Global MLGraphicsEndFrame (MLHandle graphics_client, MLHandle handle)

  • None

Global MLGraphicsEnumerateRequiredVkDeviceExtensionsForMediaHandleImport (VkExtensionProperties out_required_extension_properties, uint32_t out_extension_property_count)

  • None

Global MLGraphicsFrameParamsExInit (MLGraphicsFrameParamsEx *inout_frame_params)

  • None

Global MLGraphicsGetClientPerformanceInfo (MLHandle graphics_client, MLGraphicsClientPerformanceInfo *out_info)

  • None

Global MLGraphicsGetClipExtentsEx (MLHandle graphics_client, const MLGraphicsClipExtentsParams params, MLGraphicsClipExtentsInfoArrayEx out_array)

  • None

Global MLGraphicsGetRenderTargets (MLHandle graphics_client, MLGraphicsRenderTargetsInfo *out_targets)

  • None

Global MLGraphicsGLFormatFromMLSurfaceFormat (MLSurfaceFormat format)

  • None

Global MLGraphicsImportVkImageFromMediaHandle (const VkDevice vulkan_logical_device, uint64_t media_handle, MLGraphicsImportedMediaSurface *out_imported_surface_info)

  • None

Global MLGraphicsMLSurfaceFormatFromGLFormat (uint32_t format)

  • None

Global MLGraphicsMLSurfaceFormatFromVkFormat (const VkFormat format)

  • None

Global MLGraphicsSetGlobalDimmer (MLHandle graphics_client, float dimmer_value)

  • None

Global MLGraphicsSignalSyncObjectGL (MLHandle graphics_client, MLHandle sync_object)

  • None

Global MLGraphicsVkFormatFromMLSurfaceFormat (const MLSurfaceFormat format)

  • None

Global MLHandleIsValid (MLHandle handle)

  • None

Global MLHandTrackingCreate (MLHandle *out_handle)

  • com.magicleap.permission.HAND_TRACKING (protection level: normal)

Global MLHandTrackingCreateEx (const MLHandTrackingSettings settings, MLHandle out_handle)

  • com.magicleap.permission.HAND_TRACKING (protection level: normal)

Global MLHandTrackingDestroy (MLHandle hand_tracker)

  • None

Global MLHandTrackingGetData (MLHandle hand_tracker, MLHandTrackingData *out_data)

  • None

Global MLHandTrackingGetStaticData (MLHandle hand_tracker, MLHandTrackingStaticData *out_data)

  • None

Global MLHandTrackingUpdateSettings (MLHandle hand_tracker, const MLHandTrackingSettings *settings)

  • None

Global MLHeadsetFitCreateClient (MLHandle *out_handle)

  • None

Global MLHeadsetFitDestroyClient (MLHandle handle)

  • None

Global MLHeadsetFitGetState (MLHandle handle, MLHeadsetFitState *out_state)

  • None

Global MLHeadTrackingCreate (MLHandle *out_handle)

  • None

Global MLHeadTrackingDestroy (MLHandle head_tracker)

  • None

Global MLHeadTrackingGetMapEvents (MLHandle head_tracker, uint64_t *out_map_events)

  • None

Global MLHeadTrackingGetState (MLHandle head_tracker, MLHeadTrackingState *out_state)

  • None

Global MLHeadTrackingGetStateEx (MLHandle head_tracker, MLHeadTrackingStateEx *out_state)

  • None

Global MLHeadTrackingGetStaticData (MLHandle head_tracker, MLHeadTrackingStaticData *out_data)

  • None

Global MLHeadTrackingStateExInit (MLHeadTrackingStateEx *inout_info)

  • None

Global MLInputCreate (MLHandle *out_handle)

  • None

Global MLInputCreateCustomHapticsPattern (MLHandle handle, MLInputCustomHapticsInfo info, uint32_t inout_pattern_id)

  • None

Global MLInputDeleteCustomHapticsPattern (MLHandle handle, uint32_t pattern_id)

  • None

Global MLInputDestroy (MLHandle handle)

  • None

Global MLInputGetConnectedDevices (MLHandle handle, MLInputConnectedDevicesList *inout_devices)

  • None

Global MLInputGetControllerState (MLHandle handle, struct MLInputControllerState out_state[MLInput_MaxControllers])

  • None

Global MLInputGetControllerStateEx (MLHandle handle, MLInputControllerStateEx out_state[MLInput_MaxControllers])

  • None

Global MLInputGetResultString (MLResult result)

  • None

Global MLInputReleaseConnectedDevicesList (MLHandle handle, MLInputConnectedDevicesList *devices)

  • None

Global MLInputSetControllerCallbacksEx (MLHandle handle, const MLInputControllerCallbacksEx controller_callbacks, void user_data)

  • None

Global MLInputStartControllerFeedbackBuzzCommand (MLHandle handle, uint8_t controller_id, const MLInputBuzzCommand *command)

  • None

Global MLInputStartControllerFeedbackCustomHapticsPattern (MLHandle handle, uint8_t controller_id, uint32_t pattern_id)

  • None

Global MLInputStartControllerFeedbackPreDefinedPattern (MLHandle handle, uint8_t controller_id, MLInputPreDefinedPattern *pattern)

  • None

Global MLInputStopControllerFeedback (MLHandle handle, uint8_t controller_id)

  • None

Global MLMarkerTrackerCreate (const MLMarkerTrackerSettings settings, MLHandle out_handle)

  • com.magicleap.permission.MARKER_TRACKING (protection level: normal)

Global MLMarkerTrackerDestroy (MLHandle tracker_handle)

  • None

Global MLMarkerTrackerGetResult (MLHandle tracker_handle, MLMarkerTrackerResultArray *out_data)

  • None

Global MLMarkerTrackerReleaseResult (MLMarkerTrackerResultArray *data)

  • None

Global MLMarkerTrackerUpdateSettings (MLHandle tracker_handle, const MLMarkerTrackerSettings *tracker_settings)

  • None

Global MLMediaCCParserCreate (MLHandle *out_handle)

  • None

Global MLMediaCCParserDestroy (MLHandle cc_handle)

  • None

Global MLMediaCCParserGetDisplayableEx (MLHandle cc_handle, const uint8_t *subtitle_data, int32_t subtitle_data_size, const MLCea608CaptionSegmentEx **out_cc_seg)

  • None

Global MLMediaCCParserParse (MLHandle cc_handle, const uint8_t *subtitle_data, uint32_t subtitle_data_size)

  • None

Global MLMediaCCParserSetDisplayChangedCallback (MLHandle cc_handle, MLMediaCCParserDisplayChangedCallback on_display_changed_callback, void *data)

  • None

Global MLMediaCea708ParserCreate (MLHandle *out_handle)

  • None

Global MLMediaCea708ParserDestroy (MLHandle cc_handle)

  • None

Global MLMediaCea708ParserParse (MLHandle cc_handle, const uint8_t *subtitle_data, uint32_t subtitle_data_size)

  • None

Global MLMediaCea708ParserSetEmitEventCallback (MLHandle cc_handle, MLMediaCea708ParserEmitEventCallback on_emit_event_callback, void *data)

  • None

Global MLMediaCodecBitrateModesRelease (MLMediaCodecBitrateMode *bitrate_modes)

  • None

Global MLMediaCodecConfigure (MLHandle handle, MLHandle format_handle, MLHandle surface_handle, MLHandle crypto_handle)

  • None

Global MLMediaCodecCreateCodec (MLMediaCodecCreation method, MLMediaCodecType type, const char name_str, MLHandle out_handle)

  • None

Global MLMediaCodecCreateCryptoInfo (const MLMediaCodecCryptoInfo crypto_info, MLHandle out_crypto_info_handle)

  • None

Global MLMediaCodecCreateInputSurface (MLHandle handle, MLHandle *out_input_surface_handle)

  • None

Global MLMediaCodecDequeueInputBuffer (MLHandle handle, int64_t timeout_us, int64_t *out_buffer_index)

  • None

Global MLMediaCodecDequeueOutputBuffer (MLHandle handle, MLMediaCodecBufferInfo out_buffer_info, int64_t timeout_us, int64_t out_buffer_index)

  • None

Global MLMediaCodecDestroy (MLHandle handle)

  • None

Global MLMediaCodecDestroyInputSurface (MLHandle handle, MLHandle input_surface_handle)

  • None

Global MLMediaCodecFlush (MLHandle handle)

  • None

Global MLMediaCodecGetInputBufferPointer (MLHandle handle, int64_t buffer_index, uint8_t *out_buffer_ptr, size_t out_buffer_size)

  • None

Global MLMediaCodecGetInputFormat (MLHandle handle, MLHandle *out_format_handle)

  • None

Global MLMediaCodecGetName (MLHandle handle, char *out_name)

  • None

Global MLMediaCodecGetOutputBufferPointer (MLHandle handle, int64_t buffer_index, const uint8_t *out_buffer_ptr, size_t out_buffer_size)

  • None

Global MLMediaCodecGetOutputFormat (MLHandle handle, MLHandle *out_format_handle)

  • None

Global MLMediaCodecListColorFormatsRelease (uint32_t *color_formats)

  • None

Global MLMediaCodecListCountCodecs (uint64_t *out_codec_count)

  • None

Global MLMediaCodecListGetCapabilityFlag (uint64_t index, const char mime, MLMediaCodecListCapabilityFlag out_capability_flag)

  • None

Global MLMediaCodecListGetCodecByName (const char name, int64_t out_index)

  • None

Global MLMediaCodecListGetCodecByType (const char type, bool is_encoder, uint64_t start_index, int64_t out_index)

  • None

Global MLMediaCodecListGetCodecName (uint64_t index, char *out_name)

  • None

Global MLMediaCodecListGetMatchingCodecs (const char mime, bool is_encoder, MLMediaCodecListCodecTypeFlag flag, MLMediaCodecListQueryResults out_matching_codecs)

  • None

Global MLMediaCodecListGetSecureCodecName (const char mime, bool is_decoder, char out_name)

  • None

Global MLMediaCodecListGetSupportedBitrateModes (uint64_t index, const char mime, MLMediaCodecBitrateMode **out_bitrate_modes, size_t out_bitrate_modes_size)

  • None

Global MLMediaCodecListGetSupportedColorFormats (uint64_t index, const char mime, uint32_t **out_color_formats, size_t out_color_formats_size)

  • None

Global MLMediaCodecListGetSupportedMimes (uint64_t index, MLMediaCodecListQueryResults *out_supported_mimes)

  • None

Global MLMediaCodecListGetSupportedProfileLevels (uint64_t index, const char mime, MLMediaCodecListProfileLevel **out_profile_levels, size_t out_profile_levels_size)

  • None

Global MLMediaCodecListIsAdaptivePlaybackSupported (uint64_t index, const char mime, bool out_supported)

  • None

Global MLMediaCodecListIsEncoder (uint64_t index, bool *out_val)

  • None

Global MLMediaCodecListIsIntraRefreshSupported (uint64_t index, const char mime, bool out_supported)

  • None

Global MLMediaCodecListIsSecurePlaybackSupported (uint64_t index, const char mime, bool out_supported)

  • None

Global MLMediaCodecListIsSoftwareCodec (const char codec_name, bool out_val)

  • None

Global MLMediaCodecListProfileLevelsRelease (MLMediaCodecListProfileLevel *profile_levels)

  • None

Global MLMediaCodecListQueryResultsRelease (MLMediaCodecListQueryResults *query_results)

  • None

Global MLMediaCodecQueueInputBuffer (MLHandle handle, int64_t buffer_index, int64_t offset, size_t size, uint64_t time_us, int flags)

  • None

Global MLMediaCodecQueueSecureInputBuffer (MLHandle handle, int64_t buffer_index, int64_t offset, MLHandle crypto_info_handle, uint64_t time_us, int flags)

  • None

Global MLMediaCodecReleaseCryptoInfo (MLHandle crypto_info_handle)

  • None

Global MLMediaCodecReleaseOutputBuffer (MLHandle handle, int64_t buffer_index, bool render)

  • None

Global MLMediaCodecReleaseOutputBufferAtTime (MLHandle handle, int64_t buffer_index, int64_t timestamp_ns)

  • None

Global MLMediaCodecReset (MLHandle handle)

  • None

Global MLMediaCodecSetCallbacksEx (MLHandle handle, MLMediaCodecCallbacksEx callbacks, void user_data)

  • None

Global MLMediaCodecSetOutputFrameListener (MLHandle handle, MLMediaCodecOutputFrameListener callbacks, void user_data)

  • None

Global MLMediaCodecStart (MLHandle handle)

  • None

Global MLMediaCodecStop (MLHandle handle)

  • None

Global MLMediaCryptoCreate (MLUUID uuid, const MLMediaDRMByteArray data, MLHandle out_handle)

  • None

Global MLMediaCryptoIsCryptoSchemeSupported (MLUUID uuid, bool *out_supported)

  • None

Global MLMediaCryptoRelease (MLHandle media_crypto)

  • None

Global MLMediaCryptoRequiresSecureDecoderComponent (const char mime_type, bool out_required)

  • None

Global MLMediaCryptoSetMediaDRMSession (MLHandle media_crypto, const MLMediaDRMByteArray *session_id)

  • None

Global MLMediaDataSourceCreate (MLMediaDataSourceReadAt read_at, MLMediaDataSourceGetSize get_size, MLMediaDataSourceClose close, void context, MLHandle out_handle)

  • None

Global MLMediaDataSourceDestroy (MLHandle media_data_source)

  • None

Global MLMediaDRMByteArrayAllocAndCopy (const uint8_t copy_from, size_t size, MLMediaDRMByteArray out_array)

  • None

Global MLMediaDRMByteArrayAllocate (size_t size, MLMediaDRMByteArray *out_array)

  • None

Global MLMediaDRMByteArrayListRelease (MLMediaDRMByteArrayList *array)

  • None

Global MLMediaDRMByteArrayRelease (MLMediaDRMByteArray *array)

  • None

Global MLMediaDRMCloseSession (MLHandle media_drm, MLMediaDRMByteArray *session_id)

  • None

Global MLMediaDRMCreate (MLUUID uuid, MLHandle *out_handle)

  • None

Global MLMediaDRMDecrypt (MLHandle media_drm, const MLMediaDRMByteArray session_id, const MLMediaDRMCryptoInputParam crypto_key_param, const MLMediaDRMByteArray input, MLMediaDRMByteArray out_output)

  • None

Global MLMediaDRMEncrypt (MLHandle media_drm, const MLMediaDRMByteArray session_id, const MLMediaDRMCryptoInputParam crypto_key_param, const MLMediaDRMByteArray input, MLMediaDRMByteArray out_output)

  • None

Global MLMediaDRMGetKeyRequest (MLHandle media_drm, const MLMediaDRMByteArray session_id, const MLMediaDRMKeyRequestInputParam key_request_param, MLMediaDRMRequestMessage *out_key_request)

  • None

Global MLMediaDRMGetPropertyByteArray (MLHandle media_drm, MLMediaDRMProperty property_name, MLMediaDRMByteArray *out_property_value)

  • None

Global MLMediaDRMGetPropertyString (MLHandle media_drm, MLMediaDRMProperty property_name, char **out_property_value)

  • None

Global MLMediaDRMGetProvisionRequest (MLHandle media_drm, const char cert_type, MLMediaDRMRequestMessage out_provision_request)

  • None

Global MLMediaDRMGetSecureStop (MLHandle media_drm, const MLMediaDRMByteArray ss_id, MLMediaDRMByteArray out_secure_stop)

  • None

Global MLMediaDRMGetSecureStops (MLHandle media_drm, MLMediaDRMByteArrayList *out_secure_stops)

  • None

Global MLMediaDRMIsCryptoSchemeSupported (MLUUID uuid, const char mime_type, bool out_supported)

  • None

Global MLMediaDRMKeyValueArrayAdd (const MLMediaDRMKeyValue pair, MLMediaDRMKeyValueArray out_array)

  • None

Global MLMediaDRMKeyValueArrayAllocate (size_t size, MLMediaDRMKeyValueArray *out_array)

  • None

Global MLMediaDRMKeyValueArrayRelease (MLMediaDRMKeyValueArray *array)

  • None

Global MLMediaDRMOpenSession (MLHandle media_drm, MLMediaDRMByteArray *out_session_id)

  • None

Global MLMediaDRMProvideKeyResponse (MLHandle media_drm, const MLMediaDRMByteArray session_id, const MLMediaDRMByteArray response, MLMediaDRMByteArray *out_key_set_id)

  • None

Global MLMediaDRMProvideProvisionResponse (MLHandle media_drm, const MLMediaDRMByteArray response, MLMediaDRMByteArray out_certificate, MLMediaDRMByteArray *out_wrapped_key)

  • None

Global MLMediaDRMQueryKeyStatus (MLHandle media_drm, const MLMediaDRMByteArray session_id, MLMediaDRMKeyValueArray out_info_map)

  • None

Global MLMediaDRMRelease (MLHandle media_drm)

  • None

Global MLMediaDRMReleaseAllSecureStops (MLHandle media_drm)

  • None

Global MLMediaDRMReleaseSecureStops (MLHandle media_drm, const MLMediaDRMByteArray *secure_stop)

  • None

Global MLMediaDRMRemoveKeys (MLHandle media_drm, MLMediaDRMByteArray *key_set_id)

  • None

Global MLMediaDRMRequestMessageRelease (MLMediaDRMRequestMessage *request)

  • None

Global MLMediaDRMRestoreKeys (MLHandle media_drm, const MLMediaDRMByteArray session_id, const MLMediaDRMByteArray key_set_id)

  • None

Global MLMediaDRMSetOnEventListenerEx (MLHandle media_drm, MLMediaDRMEventCallbacks callbacks, void data)

  • None

Global MLMediaDRMSetPropertyByteArray (MLHandle media_drm, MLMediaDRMProperty property_name, const MLMediaDRMByteArray *property_value)

  • None

Global MLMediaDRMSetPropertyString (MLHandle media_drm, MLMediaDRMProperty property_name, const char *property_value)

  • None

Global MLMediaDRMSign (MLHandle media_drm, const MLMediaDRMByteArray session_id, const MLMediaDRMHMACInputParam hmac_key_param, const MLMediaDRMByteArray message, MLMediaDRMByteArray out_signature)

  • None

Global MLMediaDRMSignRSA (MLHandle media_drm, const MLMediaDRMByteArray session_id, const MLMediaDRMRSAInputParam rsa_key_param, const MLMediaDRMByteArray message, MLMediaDRMByteArray out_signature)

  • None

Global MLMediaDRMVerify (MLHandle media_drm, const MLMediaDRMByteArray session_id, const MLMediaDRMHMACInputParam hmac_key_param, const MLMediaDRMByteArray message, const MLMediaDRMByteArray signature, bool *out_match)

  • None

Global MLMediaExtractorAdvance (MLHandle handle)

  • None

Global MLMediaExtractorCreate (MLHandle *out_handle)

  • None

Global MLMediaExtractorDestroy (MLHandle handle)

  • None

Global MLMediaExtractorGetCachedDuration (MLHandle handle, int64_t *out_cached_duration)

  • None

Global MLMediaExtractorGetDRMInitData (MLHandle handle, MLUUID drm_uuid, MLMediaExtractorDRMSchemeInitData *out_drm_init_data)

  • None

Global MLMediaExtractorGetPSSHInfo (MLHandle handle, size_t index, MLMediaExtractorPSSHEntry *out_pssh_entry)

  • None

Global MLMediaExtractorGetPSSHInfoCount (MLHandle handle, size_t *out_index)

  • None

Global MLMediaExtractorGetSampleCryptoInfo (MLHandle handle, MLHandle *out_info_handle)

  • None

Global MLMediaExtractorGetSampleFlags (MLHandle handle, int *out_sample_flags)

  • None

Global MLMediaExtractorGetSampleTime (MLHandle handle, int64_t *out_sample_time)

  • None

Global MLMediaExtractorGetSampleTrackIndex (MLHandle handle, int64_t *out_track_index)

  • None

Global MLMediaExtractorGetTrackCount (MLHandle handle, uint64_t *out_track_count)

  • None

Global MLMediaExtractorGetTrackFormat (MLHandle handle, size_t index, MLHandle *out_track_handle)

  • None

Global MLMediaExtractorHasCacheReachedEOS (MLHandle handle)

  • None

Global MLMediaExtractorReadSampleData (MLHandle handle, uint8_t byte_buf, size_t buf_size, size_t offset, int64_t out_data_size)

  • None

Global MLMediaExtractorReleaseCryptoInfo (MLHandle handle, MLHandle *inout_info_handle)

  • None

Global MLMediaExtractorReleaseDRMInitData (MLHandle handle, MLMediaExtractorDRMSchemeInitData *drm_init_data)

  • None

Global MLMediaExtractorReleasePSSHInfo (MLHandle handle, MLMediaExtractorPSSHEntry *pssh_entry)

  • None

Global MLMediaExtractorSeekTo (MLHandle handle, int64_t time_us, MLMediaSeekMode mode)

  • None

Global MLMediaExtractorSelectTrack (MLHandle handle, size_t index)

  • None

Global MLMediaExtractorSetDataSourceForFD (MLHandle handle, int fd, int64_t offset, int64_t length)

  • None

Global MLMediaExtractorSetDataSourceForPath (MLHandle handle, const char *path)

  • None

Global MLMediaExtractorSetDataSourceForURI (MLHandle handle, const char *uri)

  • android.permission.INTERNET (protection level: normal)

Global MLMediaExtractorSetDataSourceForURIWithHeaders (MLHandle handle, const char *uri, const char **headers, size_t len)

  • android.permission.INTERNET (protection level: normal)

Global MLMediaExtractorSetMediaDataSource (MLHandle handle, MLHandle media_data_source)

  • None

Global MLMediaExtractorUnselectTrack (MLHandle handle, size_t index)

  • None

Global MLMediaFormatCreate (MLHandle *out_handle)

  • None

Global MLMediaFormatCreateAudio (const char mime_type, int sample_rate, int channel_count, MLHandle out_handle)

  • None

Global MLMediaFormatCreateCopy (MLHandle handle, MLHandle *out_handle)

  • None

Global MLMediaFormatCreateSubtitle (const char mime_type, const char language, MLHandle *out_handle)

  • None

Global MLMediaFormatCreateVideo (const char mime_type, int width, int height, MLHandle out_handle)

  • None

Global MLMediaFormatDestroy (MLHandle handle)

  • None

Global MLMediaFormatGetKeyByteBuffer (MLHandle handle, MLMediaFormatKey name, MLMediaFormatByteArray *out_buffer)

  • None

Global MLMediaFormatGetKeySize (MLHandle handle, MLMediaFormatKey name, size_t *out_size)

  • None

Global MLMediaFormatGetKeyString (MLHandle handle, MLMediaFormatKey name, char *out_string)

  • None

Global MLMediaFormatGetKeyValueFloat (MLHandle handle, MLMediaFormatKey name, float *out_key)

  • None

Global MLMediaFormatGetKeyValueInt32 (MLHandle handle, MLMediaFormatKey name, int32_t *out_key)

  • None

Global MLMediaFormatGetKeyValueInt64 (MLHandle handle, MLMediaFormatKey name, int64_t *out_key)

  • None

Global MLMediaFormatKeyByteBufferRelease (MLHandle handle, MLMediaFormatByteArray *buffer)

  • None

Global MLMediaFormatObjectToString (MLHandle handle, char *out_string)

  • None

Global MLMediaFormatSetKeyByteBuffer (MLHandle handle, MLMediaFormatKey name, const MLMediaFormatByteArray *buffer)

  • None

Global MLMediaFormatSetKeyFloat (MLHandle handle, MLMediaFormatKey name, float key_value)

  • None

Global MLMediaFormatSetKeyInt32 (MLHandle handle, MLMediaFormatKey name, int32_t key_value)

  • None

Global MLMediaFormatSetKeyInt64 (MLHandle handle, MLMediaFormatKey name, int64_t key_value)

  • None

Global MLMediaFormatSetKeySize (MLHandle handle, MLMediaFormatKey name, size_t key_size)

  • None

Global MLMediaFormatSetKeyString (MLHandle handle, MLMediaFormatKey name, const char *key_value)

  • None

Global MLMediaMuxerAddTrack (MLHandle media_muxer, MLHandle media_format, size_t *out_track_index)

  • None

Global MLMediaMuxerConfigure (MLHandle media_muxer, MLMediaMuxerOutputFormat format, const char *path)

  • None

Global MLMediaMuxerCreate (MLHandle *out_handle)

  • None

Global MLMediaMuxerGetSupportedMimes (MLHandle media_muxer, MLMediaMuxerOutputFormat format, const char const out_mime_list[], size_t *out_mime_list_size)

  • None

Global MLMediaMuxerGetSupportedOutputFormats (MLHandle media_muxer, const MLMediaMuxerOutputFormat out_format_list[], size_t out_format_list_size)

  • None

Global MLMediaMuxerRelease (MLHandle media_muxer)

  • None

Global MLMediaMuxerSetLocation (MLHandle media_muxer, float latitude, float longitude)

  • None

Global MLMediaMuxerSetOrientationHint (MLHandle media_muxer, int32_t degrees)

  • None

Global MLMediaMuxerStart (MLHandle media_muxer)

  • None

Global MLMediaMuxerStop (MLHandle media_muxer)

  • None

Global MLMediaMuxerWriteSampleData (MLHandle media_muxer, const MLMediaMuxerSampleData *data)

  • None

Global MLMediaPlayerAddTimedTextSourceForFD (MLHandle media_player, int32_t fd, int64_t offset, int64_t length, const char *mime_type)

  • None

Global MLMediaPlayerAddTimedTextSourceForURI (MLHandle media_player, const char uri, const char mime_type)

  • None

Global MLMediaPlayerCreate (MLHandle *out_handle)

  • None

Global MLMediaPlayerDestroy (MLHandle media_player)

  • None

Global MLMediaPlayerGetAudioHandle (MLHandle media_player, MLHandle *out_handle)

  • None

Global MLMediaPlayerGetBufferingSettings (MLHandle media_player, MLMediaPlayerBufferingSettings *out_buf_settings)

  • None

Global MLMediaPlayerGetBufferingUpdate (MLHandle media_player, int32_t *out_percentage)

  • None

Global MLMediaPlayerGetCurrentPosition (MLHandle media_player, int32_t *out_msec)

  • None

Global MLMediaPlayerGetDefaultBufferingSettings (MLHandle media_player, MLMediaPlayerBufferingSettings *out_buf_settings)

  • None

Global MLMediaPlayerGetDuration (MLHandle media_player, int32_t *out_msec)

  • None

Global MLMediaPlayerGetError (MLHandle media_player, MLResult *out_result)

  • None

Global MLMediaPlayerGetInfo (MLHandle media_player, int32_t out_code, int32_t out_extra)

  • None

Global MLMediaPlayerGetMetadata (MLHandle media_player, int64_t out_time, int32_t out_size, uint8_t **out_buffer)

  • None

Global MLMediaPlayerGetMetrics (MLHandle media_player, MLMediaPlayerMetrics *out_metrics)

  • None

Global MLMediaPlayerGetSubtitleEx (MLHandle media_player, MLMediaPlayerSubtitleData **out_subtitle_data)

  • None

Global MLMediaPlayerGetTimedText (MLHandle media_player, const char *out_text, int32_t out_start, int32_t *out_end)

  • None

Global MLMediaPlayerGetTrackCount (MLHandle media_player, uint32_t *out_track_count)

  • None

Global MLMediaPlayerGetTrackDRMInfo (MLHandle media_player, const MLMediaPlayerTrackInfo *track_info, MLMediaPlayerTrackDRMInfo **out_drm_info)

  • None

Global MLMediaPlayerGetTrackLanguage (MLHandle media_player, uint32_t track, char **out_track_language)

  • None

Global MLMediaPlayerGetTrackMediaFormat (MLHandle media_player, uint32_t track, MLHandle *out_media_format)

  • None

Global MLMediaPlayerGetTrackType (MLHandle media_player, uint32_t track, MLMediaPlayerTrackType *out_track_type)

  • None

Global MLMediaPlayerGetTTMLData (MLHandle media_player, MLHandle timed_text, MLTTMLData **out_ttml_data)

  • None

Global MLMediaPlayerGetVideoSize (MLHandle media_player, int32_t out_width, int32_t out_height)

  • None

Global MLMediaPlayerGetWebVTTData (MLHandle media_player, MLHandle timed_text, MLWebVTTData **out_webvtt_data)

  • None

Global MLMediaPlayerOnMediaTimedTextUpdateCallback )(MLHandle media_player, MLHandle timed_text, void *data)

  • None

Global MLMediaPlayerPause (MLHandle media_player)

  • None

Global MLMediaPlayerPollStates (MLHandle media_player, uint16_t mask, uint16_t *out_polled_states)

  • None

Global MLMediaPlayerPrepare (MLHandle media_player)

  • None

Global MLMediaPlayerPrepareAsync (MLHandle media_player)

  • None

Global MLMediaPlayerPrepareTrackDRM (MLHandle media_player, const MLMediaPlayerTrackDRMSessionInfo *drm_session_info)

  • None

Global MLMediaPlayerReleaseDRM (MLHandle media_player)

  • None

Global MLMediaPlayerReleaseSubtitleEx (MLHandle media_player)

  • None

Global MLMediaPlayerReset (MLHandle media_player)

  • None

Global MLMediaPlayerResetAsync (MLHandle media_player)

  • None

Global MLMediaPlayerSeekTo (MLHandle media_player, int msec, MLMediaSeekMode mode)

  • None

Global MLMediaPlayerSelectTrack (MLHandle media_player, uint32_t track)

  • None

Global MLMediaPlayerSetBufferingSettings (MLHandle media_player, MLMediaPlayerBufferingSettings buf_settings)

  • None

Global MLMediaPlayerSetDataSourceForFD (MLHandle media_player, int32_t fd)

  • None

Global MLMediaPlayerSetDataSourceForPath (MLHandle media_player, const char *path)

  • None

Global MLMediaPlayerSetDataSourceForURI (MLHandle media_player, const char *uri)

  • android.permission.INTERNET (protection level: normal)

Global MLMediaPlayerSetEventCallbacksEx (MLHandle media_player, const MLMediaPlayerEventCallbacksEx callbacks, void data)

  • None

Global MLMediaPlayerSetLooping (MLHandle media_player, bool loop)

  • None

Global MLMediaPlayerSetMediaDataSource (MLHandle media_player, MLHandle media_data_source)

  • None

Global MLMediaPlayerSetMediaStreamSource (MLHandle media_player, MLHandle media_stream_source)

  • None

Global MLMediaPlayerSetNextPlayer (MLHandle media_player, MLHandle next_media_player)

  • None

Global MLMediaPlayerSetOffsetDataSourceForFD (MLHandle media_player, int32_t fd, int64_t offset, int64_t length)

  • None

Global MLMediaPlayerSetOnMediaSubtitleUpdateCallback (MLHandle media_player, MLMediaPlayerOnMediaSubtitleUpdateCallback on_media_subtitle_callback, void *data)

  • None

Global MLMediaPlayerSetOnMediaTimedTextUpdateCallback (MLHandle media_player, MLMediaPlayerOnMediaTimedTextUpdateCallback on_media_timed_text_callback, void *data)

  • None

Global MLMediaPlayerSetRemoteDataSourceForURI (MLHandle media_player, const char *uri, char **headers, size_t len)

  • android.permission.INTERNET (protection level: normal)

Global MLMediaPlayerSetSurface (MLHandle media_player, MLHandle surface)

  • None

Global MLMediaPlayerSetVideoScalingMode (MLHandle media_player, MLMediaPlayerVideoScalingMode mode)

  • None

Global MLMediaPlayerSetVolume (MLHandle media_player, float volume)

  • None

Global MLMediaPlayerStart (MLHandle media_player)

  • None

Global MLMediaPlayerStop (MLHandle media_player)

  • None

Global MLMediaPlayerUnselectTrack (MLHandle media_player, uint32_t track)

  • None

Global MLMediaRecorderCreate (MLHandle *out_handle)

  • None

Global MLMediaRecorderDestroy (MLHandle media_recorder)

  • None

Global MLMediaRecorderGetInputSurface (MLHandle media_recorder, MLHandle *out_input_surface_handle)

  • None

Global MLMediaRecorderGetMaxAmplitude (MLHandle media_recorder, int32_t *inout_max_amp)

  • None

Global MLMediaRecorderPrepare (MLHandle media_recorder, MLHandle format)

  • None

Global MLMediaRecorderReleaseInputSurface (MLHandle media_recorder, MLHandle input_surface_handle)

  • None

Global MLMediaRecorderReset (MLHandle media_recorder)

  • None

Global MLMediaRecorderSetAudioEncoder (MLHandle media_recorder, MLMediaRecorderAudioEncoder in_audio_encoder)

  • None

Global MLMediaRecorderSetAudioSource (MLHandle media_recorder, MLMediaRecorderAudioSource in_audio_source)

  • android.permission.RECORD_AUDIO (protection level: dangerous)

Global MLMediaRecorderSetEventCallbacks (MLHandle media_recorder, const MLMediaRecorderEventCallbacks callbacks, void data)

  • None

Global MLMediaRecorderSetGeoLocation (MLHandle media_recorder, int64_t in_latitude10000, int64_t in_longitude10000)

  • None

Global MLMediaRecorderSetMaxDuration (MLHandle media_recorder, int32_t in_max_duration_msec)

  • None

Global MLMediaRecorderSetMaxFileSize (MLHandle media_recorder, int64_t in_max_file_size)

  • None

Global MLMediaRecorderSetOutputFileForFD (MLHandle media_recorder, int32_t fd)

  • None

Global MLMediaRecorderSetOutputFileForPath (MLHandle media_recorder, const char *path)

  • None

Global MLMediaRecorderSetOutputFormat (MLHandle media_recorder, MLMediaRecorderOutputFormat in_format)

  • None

Global MLMediaRecorderSetVideoEncoder (MLHandle media_recorder, MLMediaRecorderVideoEncoder in_video_encoder)

  • None

Global MLMediaRecorderSetVideoSource (MLHandle media_recorder, MLMediaRecorderVideoSource in_video_source)

  • None

Global MLMediaRecorderStart (MLHandle media_recorder)

  • None

Global MLMediaRecorderStop (MLHandle media_recorder)

  • None

Global MLMediaResultGetString (MLResult code)

  • None

Global MLMediaStreamSourceCreate (MLMediaStreamSourceOnBufferAvailable on_buffer_available, void context, MLHandle out_handle)

  • None

Global MLMediaStreamSourceDestroy (MLHandle media_stream_source)

  • None

Global MLMediaStreamSourceGetBuffer (MLHandle media_stream_source, size_t out_id, uint8_t **out_ptr, size_t out_size)

  • None

Global MLMediaStreamSourcePushBuffer (MLHandle media_stream_source, size_t id, size_t size)

  • None

Global MLMediaStreamSourcePushEOS (MLHandle media_stream_source)

  • None

Global MLMeshingCreateClient (MLHandle out_client_handle, const MLMeshingSettings settings)

  • com.magicleap.permission.SPATIAL_MAPPING (protection level: dangerous)

Global MLMeshingDestroyClient (MLHandle client_handle)

  • None

Global MLMeshingFreeResource (MLHandle client_handle, MLHandle *request_handle)

  • None

Global MLMeshingGetMeshInfoResult (MLHandle client_handle, MLHandle request_handle, MLMeshingMeshInfo *out_info)

  • None

Global MLMeshingGetMeshResult (MLHandle client_handle, MLHandle request_handle, MLMeshingMesh *out_mesh)

  • None

Global MLMeshingInitSettings (MLMeshingSettings *out_settings)

  • None

Global MLMeshingPopulateDepth (MLHandle client_handle, const MLMeshingDepthBufferInfo info, const MLMeshingMesh meshes)

  • None

Global MLMeshingRequestMesh (MLHandle client_handle, const MLMeshingMeshRequest request, MLHandle out_request_handle)

  • None

Global MLMeshingRequestMeshInfo (MLHandle client_handle, const MLMeshingExtents extents, MLHandle out_request_handle)

  • None

Global MLMeshingUpdateSettings (MLHandle client_handle, const MLMeshingSettings *settings)

  • None

Global MLNativeSurfaceAcquireHardwareBufferFromNativeBuffer (MLHandle handle, MLHandle native_buffer, struct AHardwareBuffer *out_hardware_buffer, uint32_t out_width, uint32_t *out_height)

  • None

Global MLNativeSurfaceAcquireNextAvailableFrame (MLHandle handle, MLHandle *out_native_buffer)

  • None

Global MLNativeSurfaceCreate (const MLNativeSurfaceConfig config_values, MLHandle out_handle)

  • None

Global MLNativeSurfaceGetFrameCropRect (MLHandle handle, MLRecti *out_crop_rect)

  • None

Global MLNativeSurfaceGetFrameNumber (MLHandle handle, uint64_t *out_number)

  • None

Global MLNativeSurfaceGetFrameQueueBufferTimestamp (MLHandle handle, int64_t *out_timestamp_ns)

  • None

Global MLNativeSurfaceGetFrameTimestamp (MLHandle handle, int64_t *out_timestamp_ns)

  • None

Global MLNativeSurfaceGetFrameTransformationMatrix (MLHandle handle, float out_mtx[16])

  • None

Global MLNativeSurfaceGetNativeWindow (MLHandle handle, MLHandle out_native_window, int32_t out_format)

  • None

Global MLNativeSurfaceRelease (MLHandle handle)

  • None

Global MLNativeSurfaceReleaseFrame (MLHandle handle, MLHandle native_buffer)

  • None

Global MLNativeSurfaceReleaseNativeWindow (MLHandle handle, MLHandle native_window)

  • None

Global MLNativeSurfaceSetOnFrameAvailableCallback (MLHandle handle, const MLNativeSurfaceOnFrameAvailableCallback callback, void user_data)

  • None

Global MLNativeSurfaceTextureAttachToGLContext (MLHandle handle, uint32_t texture_id)

  • None

Global MLNativeSurfaceTextureCreate (const MLNativeSurfaceConfig config_values, MLNativeSurfaceTextureBackend backend, MLHandle out_handle)

  • None

Global MLNativeSurfaceTextureDetachFromGLContext (MLHandle handle)

  • None

Global MLNativeSurfaceTextureGetTimestamp (MLHandle handle, int64_t *out_timestamp_ns)

  • None

Global MLNativeSurfaceTextureGetTransformationMatrix (MLHandle handle, float out_matrix[16])

  • None

Global MLNativeSurfaceTextureRelease (MLHandle handle)

  • None

Global MLNativeSurfaceTextureSetOnFrameAvailableCallback (MLHandle handle, const MLNativeSurfaceOnFrameAvailableCallback callback, void user_data)

  • None

Global MLNativeSurfaceTextureUpdateTexImage (MLHandle handle)

  • None

Global MLOcclusionCreateClient (const MLOcclusionSettings settings, MLHandle out_client_handle)

  • com.magicleap.permission.SPATIAL_MAPPING (protection level: dangerous)

Global MLOcclusionDestroyClient (MLHandle client_handle)

  • None

Global MLOcclusionGetLatestMesh (MLHandle handle, const MLOcclusionMeshQuery mesh_query, MLOcclusionMesh out_mesh_data)

  • None

Global MLOcclusionMeshInit (MLOcclusionMesh *inout_mesh)

  • None

Global MLOcclusionMeshQueryInit (MLOcclusionMeshQuery *inout_mesh_query)

  • None

Global MLOcclusionReleaseMesh (MLHandle handle, MLOcclusionMesh *mesh_data)

  • None

Global MLOcclusionSettingsInit (MLOcclusionSettings *inout_settings)

  • None

Global MLOcclusionUpdateSettings (MLHandle handle, const MLOcclusionSettings *settings)

  • None

Global MLPerceptionGetPredictedSnapshot (MLTime timestamp, MLSnapshot **out_snapshot)

  • None

Global MLPerceptionGetSnapshot (MLSnapshot **out_snapshot)

  • None

Global MLPerceptionInitSettings (MLPerceptionSettings *out_settings)

  • None

Global MLPerceptionReleaseSnapshot (MLSnapshot *snap)

  • None

Global MLPerceptionShutdown ()

  • None

Global MLPerceptionStartup (MLPerceptionSettings *settings)

  • None

Global MLPlaneBoundariesListInit (MLPlaneBoundariesList *inout_boundaries_list)

  • None

Global MLPlanesCreate (MLHandle *out_handle)

  • com.magicleap.permission.SPATIAL_MAPPING (protection level: dangerous)

Global MLPlanesDestroy (MLHandle planes_tracker)

  • None

Global MLPlanesQueryBegin (MLHandle planes_tracker, const MLPlanesQuery query, MLHandle out_handle)

  • None

Global MLPlanesQueryGetResultsWithBoundaries (MLHandle planes_tracker, MLHandle planes_query, MLPlane out_results, uint32_t out_num_results, MLPlaneBoundariesList *out_boundaries)

  • None

Global MLPlanesReleaseBoundariesList (MLHandle planes_tracker, MLPlaneBoundariesList *plane_boundaries)

  • None

Global MLPlatformGetAPILevel (uint32_t *out_api_level)

  • None

Global MLPowerManagerCreate (MLPowerManagerComponent component, MLHandle *out_handle)

  • none

Global MLPowerManagerDestroy (MLHandle handle)

  • None

Global MLPowerManagerGetAvailablePowerStates (MLHandle handle, const MLPowerManagerPowerStateInfo in_info, MLPowerManagerPowerStateData out_states)

  • None

Global MLPowerManagerGetAvailableProperties (MLHandle handle, const MLPowerManagerPropertyTypeInfo in_info, MLPowerManagerPropertyTypeData out_properties)

  • None

Global MLPowerManagerGetComponentProperties (MLHandle handle, const MLPowerManagerPropertyInfo in_info, MLPowerManagerPropertyData out_properties)

  • None

Global MLPowerManagerGetPowerState (MLHandle handle, const MLPowerManagerPowerStateInfo in_info, MLPowerManagerPowerStateData out_state)

  • None

Global MLPowerManagerGetResultString (MLResult result_code)

  • None

Global MLPowerManagerReleasePowerStateData (MLHandle handle, MLPowerManagerPowerStateData *power_states)

  • None

Global MLPowerManagerReleasePropertyData (MLHandle handle, MLPowerManagerPropertyData *properties)

  • None

Global MLPowerManagerReleasePropertyTypeData (MLHandle handle, MLPowerManagerPropertyTypeData *properties)

  • None

Global MLPowerManagerSetCallbacks (MLHandle handle, MLPowerManagerCallbacks cb, void user_data)

  • None

Global MLPowerManagerSetPowerState (MLHandle handle, const MLPowerManagerPowerStateSettings *settings)

  • None

Global MLSnapshotGetPoseInBase (const MLSnapshot snapshot, const MLCoordinateFrameUID base_id, const MLCoordinateFrameUID id, MLPose out_pose)

  • None

Global MLSnapshotGetResultString (MLResult result_code)

  • None

Global MLSnapshotGetStaticData (MLSnapshotStaticData *out_static_data)

  • None

Global MLSnapshotGetTransform (const MLSnapshot snapshot, const MLCoordinateFrameUID id, MLTransform *out_transform)

  • None

Global MLSnapshotGetTransformWithDerivatives (const MLSnapshot snapshot, const MLCoordinateFrameUID id, MLTransform out_transform, MLTransformDerivatives out_derivatives)

  • None

Global MLSpaceCallbacksInit (MLSpaceCallbacks *inout_callbacks)

  • None

Global MLSpaceExportInfoInit (MLSpaceExportInfo *inout_info)

  • None

Global MLSpaceExportSpace (const MLSpaceExportInfo export_info, MLSpaceExportOutData out_data)

  • com.magicleap.permission.SPACE_IMPORT_EXPORT (protection level: dangerous)

Global MLSpaceGetLocalizationResult (MLHandle handle, MLSpaceLocalizationResult *out_localization_result)

  • None

Global MLSpaceGetResultString (MLResult result)

  • None

Global MLSpaceGetSpaceList (MLHandle handle, const MLSpaceQueryFilter query_filter, MLSpaceList out_space_list)

  • None

Global MLSpaceImportInfoInit (MLSpaceImportInfo *inout_info)

  • None

Global MLSpaceImportSpace (const MLSpaceImportInfo import_info, MLSpaceImportOutData out_data)

  • com.magicleap.permission.SPACE_IMPORT_EXPORT (protection level: dangerous)

Global MLSpaceInit (MLSpace *inout_info)

  • None

Global MLSpaceListInit (MLSpaceList *inout_info)

  • None

Global MLSpaceLocalizationInfoInit (MLSpaceLocalizationInfo *inout_info)

  • None

Global MLSpaceLocalizationResultInit (MLSpaceLocalizationResult *inout_info)

  • None

Global MLSpaceManagerCreate (const MLSpaceManagerSettings settings, MLHandle out_handle)

  • com.magicleap.permission.SPACE_MANAGER (protection level: normal)

Global MLSpaceManagerDestroy (MLHandle handle)

  • None

Global MLSpaceManagerSettingsInit (MLSpaceManagerSettings *inout_info)

  • None

Global MLSpaceQueryFilterInit (MLSpaceQueryFilter *inout_query_filter)

  • None

Global MLSpaceReleaseExportData (MLSpaceExportOutData *space_data)

  • None

Global MLSpaceReleaseSpaceList (MLHandle handle, MLSpaceList *space_list)

  • None

Global MLSpaceRequestLocalization (MLHandle handle, const MLSpaceLocalizationInfo *localization_info)

  • None

Global MLSpatialAnchorCreate (MLHandle handle, const MLSpatialAnchorCreateInfo create_info, MLSpatialAnchor out_anchor)

  • None

Global MLSpatialAnchorCreateInfoInit (MLSpatialAnchorCreateInfo *inout_info)

  • None

Global MLSpatialAnchorDelete (MLHandle handle, MLUUID anchor_id)

  • None

Global MLSpatialAnchorGetLocalizationInfo (MLHandle handle, MLSpatialAnchorLocalizationInfo *out_localization_info)

  • None

Global MLSpatialAnchorGetResultString (MLResult result)

  • None

Global MLSpatialAnchorInit (MLSpatialAnchor *inout_anchor)

  • None

Global MLSpatialAnchorLocalizationInfoInit (MLSpatialAnchorLocalizationInfo *inout_info)

  • None

Global MLSpatialAnchorPublish (MLHandle handle, MLUUID anchor_id)

  • None

Global MLSpatialAnchorQueryCreate (MLHandle handle, const MLSpatialAnchorQueryFilter query_filter, MLHandle out_query_handle, uint32_t *out_results_count)

  • None

Global MLSpatialAnchorQueryDestroy (MLHandle handle, MLHandle query_handle)

  • None

Global MLSpatialAnchorQueryFilterInit (MLSpatialAnchorQueryFilter *inout_query_filter)

  • None

Global MLSpatialAnchorQueryGetResult (MLHandle handle, MLHandle query_handle, uint32_t first_index, uint32_t last_index, MLSpatialAnchor *out_results)

  • None

Global MLSpatialAnchorTrackerCreate (MLHandle *out_handle)

  • com.magicleap.permission.SPATIAL_ANCHOR (protection level: normal)

Global MLSpatialAnchorTrackerDestroy (MLHandle handle)

  • None

Global MLSpatialAnchorUpdate (MLHandle handle, const MLSpatialAnchor *anchor)

  • None

Global MLSystemNotificationManagerCreate (MLHandle *out_handle)

  • com.magicleap.permission.SYSTEM_NOTIFICATION (protection level: normal)

Global MLSystemNotificationManagerDestroy (MLHandle handle)

  • None

Global MLSystemNotificationManagerSetNotifications (MLHandle handle, bool suppress)

  • None

Global MLTimeConvertMLTimeToSystemTime (MLTime ml_time, struct timespec *out_timespec_time)

  • None

Global MLTimeConvertSystemTimeToMLTime (const struct timespec timespec_time, MLTime out_ml_time)

  • None

Global MLVoiceGetResultString (MLResult result)

  • None

Global MLVoiceIntentCallbacksInit (MLVoiceIntentCallbacks *inout_callbacks)

  • None

Global MLVoiceIntentConfigureSettings (MLHandle handle, const MLVoiceIntentSettings *voice_settings)

  • None

Global MLVoiceIntentCreate (MLHandle *out_handle)

  • com.magicleap.permission.VOICE_INPUT (protection level: dangerous)

Global MLVoiceIntentDestroy (MLHandle handle)

  • None

Global MLVoiceIntentIsEnabled (MLHandle handle, bool *out_is_enabled)

  • None

Global MLVoiceIntentSetCallbacks (MLHandle handle, const MLVoiceIntentCallbacks voice_callbacks, void user_data)

  • None

Global MLVoiceIntentSettingsInit (MLVoiceIntentSettings *inout_settings)

  • None

Global MLVoiceIntentStartProcessing (MLHandle handle)

  • None

Global MLVoiceIntentStopProcessing (MLHandle handle)

  • None

Global MLWebViewAcquireNextAvailableFrame (MLHandle web_view, struct AHardwareBuffer **out_native_buffer)

  • None

Global MLWebViewCanGoBack (MLHandle web_view, bool *out_can_go_back)

  • None

Global MLWebViewCanGoForward (MLHandle web_view, bool *out_can_go_forward)

  • None

Global MLWebViewClearCache (MLHandle web_view)

  • None

Global MLWebViewCreate (MLHandle out_handle, const MLWebViewSettings in_settings)

  • com.magicleap.permission.WEBVIEW (protection level: normal)

Global MLWebViewCursorStateInit (MLWebViewCursorState *inout_cursor_state)

  • None

Global MLWebViewDestroy (MLHandle handle)

  • None

Global MLWebViewEventCallbacksInit (MLWebViewEventCallbacks *inout_callback)

  • None

Global MLWebViewGetFrameTransformMatrix (MLHandle web_view, MLMat4f *out_matrix)

  • None

Global MLWebViewGetScrollOffset (MLHandle web_view, int32_t out_x, int32_t out_y)

  • None

Global MLWebViewGetScrollSize (MLHandle web_view, int32_t out_width, int32_t out_height)

  • None

Global MLWebViewGetUrl (MLHandle web_view, uint32_t inout_size, char inout_url)

  • None

Global MLWebViewGetZoomFactor (MLHandle web_view, double *out_zoom_factor)

  • None

Global MLWebViewGoBack (MLHandle web_view)

  • None

Global MLWebViewGoForward (MLHandle web_view)

  • None

Global MLWebViewGoTo (MLHandle web_view, const char *url)

  • None

Global MLWebViewInjectChar (MLHandle web_view, uint32_t char_utf32)

  • None

Global MLWebViewInjectKeyDown (MLHandle web_view, int32_t key_code, uint32_t modifier_mask)

  • None

Global MLWebViewInjectKeyUp (MLHandle web_view, int32_t key_code, uint32_t modifier_mask)

  • None

Global MLWebViewInjectMouseButtonDown (MLHandle web_view, const MLWebViewCursorState *cursor_state)

  • None

Global MLWebViewInjectMouseButtonUp (MLHandle web_view, const MLWebViewCursorState *cursor_state)

  • None

Global MLWebViewInjectMouseMove (MLHandle web_view, const MLWebViewCursorState *cursor_state)

  • None

Global MLWebViewProcessSettingsInit (MLWebViewProcessSettings *inout_settings)

  • None

Global MLWebViewReleaseFrame (MLHandle web_view, struct AHardwareBuffer *native_buffer)

  • None

Global MLWebViewReload (MLHandle web_view)

  • None

Global MLWebViewRemoveAllCookies (MLHandle web_view)

  • None

Global MLWebViewResetZoom (MLHandle web_view)

  • None

Global MLWebViewScrollBy (MLHandle web_view, const int32_t x_pixels, const int32_t y_pixels)

  • None

Global MLWebViewSetEventCallbacks (MLHandle web_view, const MLWebViewEventCallbacks *callbacks)

  • None

Global MLWebViewSetProcessSettings (const MLWebViewProcessSettings *settings)

  • None

Global MLWebViewSettingsInit (MLWebViewSettings *inout_settings)

  • None

Global MLWebViewZoomIn (MLHandle web_view)

  • None

Global MLWebViewZoomOut (MLHandle web_view)

  • None

Global MLWorldCameraConnect (const MLWorldCameraSettings settings, MLHandle out_handle)

  • android.permission.CAMERA (protection level: dangerous)

Global MLWorldCameraDisconnect (MLHandle handle)

  • None

Global MLWorldCameraGetLatestWorldCameraData (MLHandle handle, uint64_t timeout_ms, MLWorldCameraData **out_data)

  • None

Global MLWorldCameraReleaseCameraData (MLHandle handle, MLWorldCameraData *world_camera_data)

  • None

Global MLWorldCameraSettingsInit (MLWorldCameraSettings *inout_handle)

  • None

Global MLWorldCameraUpdateSettings (MLHandle handle, const MLWorldCameraSettings *settings)

  • None

Global MLZIGraphicsEnumerateRequiredVkDeviceExtensions (VkExtensionProperties out_required_extension_properties, uint32_t out_extension_property_count)

  • None

Global MLZIGraphicsEnumerateRequiredVkInstanceExtensions (VkExtensionProperties out_required_extension_properties, uint32_t out_extension_property_count)

  • None

Global MLZIIsServerConfigured (bool *out_is_configured)

  • None

Global MLZIPermissionsIsGranted (const char *permission_name)

  • Any

Global MLZIPermissionsRequest (const char *permission_name)

  • None

Global MLZIPermissionsStart ()

  • None

Global MLZIPermissionsStop ()

  • None

Global MLZISetProgramLabel (const char *in_label)

  • None