Skip to main content
Version: 21 Aug 2024

MLSDK to OpenXR/Android APIs

This page includes a list of the MLSDK APIs and their equivalents available through OpenXR Extensions and standard Android APIs.

ML SDK C-API HeaderEquivalent OpenXR Extension / Android API
ml_api.hOpenXR Core
ml_audio.h
ml_audio_channel_mask.h
Not yet supported, use C-API
ml_camera_metadata_tags_v2.h (deprecated)
ml_camera_metadata_v2.h (deprecated)
ml_camera_v2.h (deprecated)
Android Camera2, Android Camera
ml_controller.hOpenXR Core
ml_coordinate_frame_uid.hOpenXR Core, XR_ML_compat
ml_cv_camera.hAndroid Camera2, Android Camera
ml_depth_camera.h
ml_eye_camera.h
ml_world_camera.h
Not yet supported, use C-API
ml_eye_calibration.hXR_ML_user_calibration
ml_eye_tracking.hXR_EXT_eye_gaze_interaction
ml_facial_expression.hNot yet supported, use C-API
ml_gaze_recognition.hNot yet supported, use C-API
ml_gesture_classification.hXR_EXT_hand_interaction
ml_graphics.h
ml_graphics_utils.h
OpenXR Core
ml_hand_tracking.hXR_EXT_hand_tracking
ml_headset_fit.hXR_ML_user_calibration
ml_head_tracking.hOpenXR Core
ml_input.hOpenXR Core
ml_marker_tracking.hXR_ML_marker_understanding
ml_media_cea608_caption.h (deprecated)
ml_media_cea708_caption.h (deprecated)
Android Media
ml_media_codec.h (deprecated)Android Media, Android Media Codec
ml_media_codeclist.h (deprecated)Android MediaCodecList
ml_media_common.h (deprecated)Android MediaPlayer
ml_media_crypto.h (deprecated)Android MediaCrypto
ml_media_data_source.h (deprecated)Android MediaDataSource
ml_media_drm.h (deprecated)Android MediaPlayer.DrmInfo
ml_media_error.h (deprecated)Android MediaPlayer.OnErrorListener
ml_media_extractor.h (deprecated)Android MediaExtractor
ml_media_format.h (deprecated)Android MediaFormat
ml_media_muxer.h (deprecated)Android MediaMuxer
ml_media_player.h (deprecated)Android MediaPlayer
ml_media_recorder.h (deprecated)Android MediaRecorder
ml_media_stream_source.h (deprecated)Android MediaDataSource
ml_media_ttml.h (deprecated)Android Media TimedText
ml_media_types.h (deprecated)Android MediaExtractor
ml_media_webvtt.h (deprecated)Android MediaFormat
ml_meshing2.hNot yet supported
ml_native_surface.h (deprecated)Android Hardware Buffer, Android AImageReader
ml_occlusion.hNot yet supported
ml_perception.hOpenXR Core
ml_planes.hXR_EXT_plane_detection
ml_platform.hUse C-API
ml_power_manager.hUse C-API
ml_snapshot.hOpenXR Core
ml_space.hXR_ML_localization_map
ml_spatial_anchor.hNot yet supported
ml_system_notification_manager.hXR_ML_system_notifications
ml_time.hOpenXR Core
ml_types.hOpenXR Core
ml_version.hOpenXR Core
ml_voice.hNot yet supported, Use C-API
ml_webview.hNot yet supported, Use C-API