# Deprecated List


- Member [AR_SESSION_FEATURE_FRONT_CAMERA](https://developers.google.com/ar/reference/c/group/ar-session#ar_session_feature_front_camera)
To create a session using the front-facing (selfie) camera, use `https://developers.google.com/ar/reference/c/group/ar-session#arsession_setcameraconfig` with the desired config retrieved from `https://developers.google.com/ar/reference/c/group/ar-session#arsession_getsupportedcameraconfigswithfilter`.
- Member [ArAnchor_acquireCloudAnchorId](https://developers.google.com/ar/reference/c/group/ar-anchor#aranchor_acquirecloudanchorid) (ArSession \*session, ArAnchor \*anchor, char \*\*out_cloud_anchor_id)
Use `https://developers.google.com/ar/reference/c/group/ar-host-cloud-anchor-future#arhostcloudanchorfuture_acquireresultcloudanchorid` instead.
- Member [ArAnchor_getCloudAnchorState](https://developers.google.com/ar/reference/c/group/ar-anchor#aranchor_getcloudanchorstate) (const ArSession \*session, const ArAnchor \*anchor, ArCloudAnchorState \*out_state)
Use `https://developers.google.com/ar/reference/c/group/ar-host-cloud-anchor-future#arhostcloudanchorfuture_getresultcloudanchorstate` or `https://developers.google.com/ar/reference/c/group/ar-resolve-cloud-anchor-future#arresolvecloudanchorfuture_getresultcloudanchorstate` instead.
- Member [ArAnchor_getTerrainAnchorState](https://developers.google.com/ar/reference/c/group/ar-anchor#aranchor_getterrainanchorstate) (const ArSession \*session, const ArAnchor \*anchor, ArTerrainAnchorState \*out_state)
Use `https://developers.google.com/ar/reference/c/group/ar-resolve-anchor-on-terrain-future#arresolveanchoronterrainfuture_getresultterrainanchorstate`.
- Member [ArCheckVpsAvailabilityCallback](https://developers.google.com/ar/reference/c/group/ar-vps-availability-future#archeckvpsavailabilitycallback)
Deprecated in release 1.37.0. Use `https://developers.google.com/ar/reference/c/group/ar-vps-availability-future#arvpsavailabilitycallback` instead.
- Member [ArEarth_resolveAndAcquireNewAnchorOnTerrain](https://developers.google.com/ar/reference/c/group/ar-earth#arearth_resolveandacquirenewanchoronterrain) (ArSession \*session, ArEarth \*earth, double latitude, double longitude, double altitude_above_terrain, const float \*eus_quaternion_4, ArAnchor \*\*out_anchor)
Use `https://developers.google.com/ar/reference/c/group/ar-earth#arearth_resolveanchoronterrainasync` instead.
- Member [ArFrame_acquireDepthImage](https://developers.google.com/ar/reference/c/group/ar-frame#arframe_acquiredepthimage) (const ArSession \*session, const ArFrame \*frame, ArImage \*\*out_depth_image)
Deprecated in release 1.31.0. Please use `https://developers.google.com/ar/reference/c/group/ar-frame#arframe_acquiredepthimage16bits` instead, which expands the depth range from 8191mm to 65535mm. This deprecated version may be slower than `https://developers.google.com/ar/reference/c/group/ar-frame#arframe_acquiredepthimage16bits` due to the clearing of the top 3 bits per pixel.
- Member [ArFrame_acquireRawDepthImage](https://developers.google.com/ar/reference/c/group/ar-frame#arframe_acquirerawdepthimage) (const ArSession \*session, const ArFrame \*frame, ArImage \*\*out_depth_image)
Deprecated in release 1.31.0. Please use `https://developers.google.com/ar/reference/c/group/ar-frame#arframe_acquirerawdepthimage16bits` instead, which expands the depth range from 8191mm to 65535mm. This deprecated version may be slower than `https://developers.google.com/ar/reference/c/group/ar-frame#arframe_acquirerawdepthimage16bits` due to the clearing of the top 3 bits per pixel.
- Member [ArFrame_transformDisplayUvCoords](https://developers.google.com/ar/reference/c/group/ar-frame#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 `https://developers.google.com/ar/reference/c/group/ar-frame#arframe_transformcoordinates2d` instead.
- Member [ArGeospatialPose_getHeading](https://developers.google.com/ar/reference/c/group/ar-geospatial-pose#argeospatialpose_getheading) (const ArSession \*session, const ArGeospatialPose \*geospatial_pose, double \*out_heading_degrees)
This function has been deprecated in favor of `https://developers.google.com/ar/reference/c/group/ar-geospatial-pose#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 `https://developers.google.com/ar/reference/c/group/ar-geospatial-pose#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](https://developers.google.com/ar/reference/c/group/ar-geospatial-pose#argeospatialpose_getheadingaccuracy) (const ArSession \*session, const ArGeospatialPose \*geospatial_pose, double \*out_heading_accuracy_degrees)
This function has deprecated in favor of `https://developers.google.com/ar/reference/c/group/ar-geospatial-pose#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](https://developers.google.com/ar/reference/c/group/ar-recording-config#arrecordingconfig_getmp4datasetfilepath) (const ArSession \*session, const ArRecordingConfig \*config, char \*\*out_mp4_dataset_file_path)
Deprecated in release 1.26.0. Use `https://developers.google.com/ar/reference/c/group/ar-recording-config#arrecordingconfig_getmp4dataseturi` instead.
- Member [ArRecordingConfig_setMp4DatasetFilePath](https://developers.google.com/ar/reference/c/group/ar-recording-config#arrecordingconfig_setmp4datasetfilepath) (const ArSession \*session, ArRecordingConfig \*config, const char \*mp4_dataset_file_path)
Deprecated in release 1.26.0. Use `https://developers.google.com/ar/reference/c/group/ar-recording-config#arrecordingconfig_setmp4dataseturi` instead.
- Member [ArSession_checkSupported](https://developers.google.com/ar/reference/c/group/ar-session#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](https://github.com/google-ar/arcore-android-sdk/releases/tag/v1.2.0))
- Member [ArSession_getSupportedCameraConfigs](https://developers.google.com/ar/reference/c/group/ar-session#arsession_getsupportedcameraconfigs) (const ArSession \*session, ArCameraConfigList \*list)
Deprecated in release 1.11.0. Use `https://developers.google.com/ar/reference/c/group/ar-session#arsession_getsupportedcameraconfigswithfilter` instead.
- Member [ArSession_hostAndAcquireNewCloudAnchor](https://developers.google.com/ar/reference/c/group/ar-session#arsession_hostandacquirenewcloudanchor) (ArSession \*session, const ArAnchor \*anchor, ArAnchor \*\*out_cloud_anchor)
Use `https://developers.google.com/ar/reference/c/group/ar-session#arsession_hostcloudanchorasync` with `ttl_days` = 1 instead.
- Member [ArSession_hostAndAcquireNewCloudAnchorWithTtl](https://developers.google.com/ar/reference/c/group/ar-session#arsession_hostandacquirenewcloudanchorwithttl) (ArSession \*session, const ArAnchor \*anchor, int32_t ttl_days, ArAnchor \*\*out_cloud_anchor)
Use `https://developers.google.com/ar/reference/c/group/ar-session#arsession_hostcloudanchorasync` with `ttl_days` = 1 instead.
- Member [ArSession_resolveAndAcquireNewCloudAnchor](https://developers.google.com/ar/reference/c/group/ar-session#arsession_resolveandacquirenewcloudanchor) (ArSession \*session, const char \*cloud_anchor_id, ArAnchor \*\*out_cloud_anchor)
Use `https://developers.google.com/ar/reference/c/group/ar-session#arsession_resolvecloudanchorasync` instead.
- Member [ArSession_setPlaybackDataset](https://developers.google.com/ar/reference/c/group/ar-session#arsession_setplaybackdataset) (ArSession \*session, const char \*mp4_dataset_file_path)
Deprecated in release 1.26.0. Use `https://developers.google.com/ar/reference/c/group/ar-recording-config#arrecordingconfig_setmp4dataseturi` instead.

<br />

## Summary