Google is committed to advancing racial equity for Black communities. See how.

RecordingConfig

public class RecordingConfig

Configuration related to session recording.

Public Constructors

Public Methods

boolean
getAutoStopOnPause()
Gets the setting that indicates whether the recording should stop automatically when the ARCore session is paused.
String
getMp4DatasetFilePath()
Gets the file path to save an MP4 dataset file for the recording.
int
getRecordingRotation()
Get the clockwise rotation in degrees that should be applied to the recorded image (0, 90, 180, or 270, or -1 for unspecified).
RecordingConfig
setAutoStopOnPause(boolean enable)
Specify whether recording should stop automatically when the ARCore session is paused.
RecordingConfig
setMp4DatasetFilePath(String mp4DatasetFilePath)
Sets the file path to save an MP4 dataset file for the recording.
RecordingConfig
setRecordingRotation(int rotation)
Specify the clockwise rotation in degrees that should be applied to the recorded image (0, 90, 180, or 270).

Inherited Methods

Public Constructors

public RecordingConfig (Session session)

Parameters
session

Public Methods

public boolean getAutoStopOnPause ()

Gets the setting that indicates whether the recording should stop automatically when the ARCore session is paused.

public String getMp4DatasetFilePath ()

Gets the file path to save an MP4 dataset file for the recording.

public int getRecordingRotation ()

Get the clockwise rotation in degrees that should be applied to the recorded image (0, 90, 180, or 270, or -1 for unspecified).

public RecordingConfig setAutoStopOnPause (boolean enable)

Specify whether recording should stop automatically when the ARCore session is paused.

Parameters
enable

public RecordingConfig setMp4DatasetFilePath (String mp4DatasetFilePath)

Sets the file path to save an MP4 dataset file for the recording.

Parameters
mp4DatasetFilePath

public RecordingConfig setRecordingRotation (int rotation)

Specify the clockwise rotation in degrees that should be applied to the recorded image (0, 90, 180, or 270).

Parameters
rotation