Stay organized with collections
Save and categorize content based on your preferences.
Deprecated List
- Member AR_SESSION_FEATURE_FRONT_CAMERA
To create a session using the front-facing (selfie) camera, use ArSession_setCameraConfig with the desired config retrieved from ArSession_getSupportedCameraConfigsWithFilter. - Member ArAnchor_acquireCloudAnchorId (ArSession *session, ArAnchor *anchor, char **out_cloud_anchor_id)
Use ArHostCloudAnchorFuture_acquireResultCloudAnchorId instead. - Member ArAnchor_getCloudAnchorState (const ArSession *session, const ArAnchor *anchor, ArCloudAnchorState *out_state)
Use ArHostCloudAnchorFuture_getResultCloudAnchorState or ArResolveCloudAnchorFuture_getResultCloudAnchorState instead. - Member ArAnchor_getTerrainAnchorState (const ArSession *session, const ArAnchor *anchor, ArTerrainAnchorState *out_state)
Use ArResolveAnchorOnTerrainFuture_getResultTerrainAnchorState. - Member ArCheckVpsAvailabilityCallback
Deprecated in release 1.37.0. Use ArVpsAvailabilityCallback instead. - Member ArEarth_resolveAndAcquireNewAnchorOnTerrain (ArSession *session, ArEarth *earth, double latitude, double longitude, double altitude_above_terrain, const float *eus_quaternion_4, ArAnchor **out_anchor)
Use ArEarth_resolveAnchorOnTerrainAsync instead. - Member ArFrame_acquireDepthImage (const ArSession *session, const ArFrame *frame, ArImage **out_depth_image)
Deprecated in release 1.31.0. Please use ArFrame_acquireDepthImage16Bits instead, which expands the depth range from 8191mm to 65535mm. This deprecated version may be slower than ArFrame_acquireDepthImage16Bits due to the clearing of the top 3 bits per pixel. - Member ArFrame_acquireRawDepthImage (const ArSession *session, const ArFrame *frame, ArImage **out_depth_image)
Deprecated in release 1.31.0. Please use ArFrame_acquireRawDepthImage16Bits instead, which expands the depth range from 8191mm to 65535mm. This deprecated version may be slower than ArFrame_acquireRawDepthImage16Bits due to the clearing of the top 3 bits per pixel. - Member ArFrame_transformDisplayUvCoords (const ArSession *session, const ArFrame *frame, int32_t num_elements, const float *uvs_in, float *uvs_out)
Deprecated in release 1.7.0. Use ArFrame_transformCoordinates2d instead. - Member ArGeospatialPose_getHeading (const ArSession *session, const ArGeospatialPose *geospatial_pose, double *out_heading_degrees)
This function has been deprecated in favor of ArGeospatialPose_getEastUpSouthQuaternion, which provides orientation values in 3D space. To determine a value analogous to the heading value, calculate the yaw, pitch, and roll values from ArGeospatialPose_getEastUpSouthQuaternion. When the device is pointing downwards, i.e. perpendicular to the ground, heading is analoguous to roll, and when the device is upright in the device's default orientation mode, heading is analogous to yaw. - Member ArGeospatialPose_getHeadingAccuracy (const ArSession *session, const ArGeospatialPose *geospatial_pose, double *out_heading_accuracy_degrees)
This function has deprecated in favor of ArGeospatialPose_getOrientationYawAccuracy, which provides the accuracy analogous to the heading accuracy when the device is held upright in the default orientation mode. - Member ArRecordingConfig_getMp4DatasetFilePath (const ArSession *session, const ArRecordingConfig *config, char **out_mp4_dataset_file_path)
Deprecated in release 1.26.0. Use ArRecordingConfig_getMp4DatasetUri instead. - Member ArRecordingConfig_setMp4DatasetFilePath (const ArSession *session, ArRecordingConfig *config, const char *mp4_dataset_file_path)
Deprecated in release 1.26.0. Use ArRecordingConfig_setMp4DatasetUri instead. - Member ArSession_checkSupported (const ArSession *session, const ArConfig *config)
Deprecated in release 1.2.0. Please refer to the release notes (release notes 1.2.0) - Member ArSession_getSupportedCameraConfigs (const ArSession *session, ArCameraConfigList *list)
Deprecated in release 1.11.0. Use ArSession_getSupportedCameraConfigsWithFilter instead. - Member ArSession_hostAndAcquireNewCloudAnchor (ArSession *session, const ArAnchor *anchor, ArAnchor **out_cloud_anchor)
Use ArSession_hostCloudAnchorAsync with ttl_days = 1 instead. - Member ArSession_hostAndAcquireNewCloudAnchorWithTtl (ArSession *session, const ArAnchor *anchor, int32_t ttl_days, ArAnchor **out_cloud_anchor)
Use ArSession_hostCloudAnchorAsync with ttl_days = 1 instead. - Member ArSession_resolveAndAcquireNewCloudAnchor (ArSession *session, const char *cloud_anchor_id, ArAnchor **out_cloud_anchor)
Use ArSession_resolveCloudAnchorAsync instead. - Member ArSession_setPlaybackDataset (ArSession *session, const char *mp4_dataset_file_path)
Deprecated in release 1.26.0. Use ArRecordingConfig_setMp4DatasetUri instead.
Summary
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-11-03 UTC.
[null,null,["Last updated 2025-11-03 UTC."],[],[]]