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

GoogleARCore.ARCoreRecordingConfig


Configuration to record camera and sensor data from an ARCore session.

Summary

Inheritance

Inherits from: ScriptableObject

Public attributes

AutoStopOnPause = true
bool
When an ARCore session is paused, recording may continue, during this time the camera feed will be recorded as a black screen, but sensor data will continue to be captured.
Mp4DatasetUri
Uri
A uri where the MP4 recording (including video data from the camera and other device sensors) will be saved.
Tracks = new List()
List< Track >
The list of Track to add to the recording config.

Properties

Mp4DatasetFilepath
string
Gets or sets the uri on the device where the MP4 recording will be saved as a file path.

Public attributes

AutoStopOnPause

bool AutoStopOnPause = true

When an ARCore session is paused, recording may continue, during this time the camera feed will be recorded as a black screen, but sensor data will continue to be captured.

Set true to cause the recording to stop automatically when the session is paused, or false to allow the recording to continue until the session is destroyed, or the recording is stopped manually.

Mp4DatasetUri

Uri Mp4DatasetUri

A uri where the MP4 recording (including video data from the camera and other device sensors) will be saved.

If the resource already exists it will be overwritten. The AbsoluteUri property of the Uri will be passed to ARCore to create an android.net.Uri The Uri must point to a seekable resource.

Tracks

List< Track > Tracks = new List()

The list of Track to add to the recording config.

Properties

Mp4DatasetFilepath

string Mp4DatasetFilepath

Gets or sets the uri on the device where the MP4 recording will be saved as a file path.

The recording consists of video data from the camera along with data from the device sensors. If the file already exists it will be overwritten.