Google. XR. ARCoreExtensions. ARRecordingManager
Provides access to session recording functionality.
Summary
Properties |
|
---|---|
RecordingStatus
|
static RecordingStatus
Gets the current state of the recorder.
|
Public static functions |
|
---|---|
StartRecording(ARCoreRecordingConfig config)
|
Starts a new recording, using the provided ARCoreRecordingConfig to define the location to save the dataset and other options.
|
StopRecording()
|
Stops the current recording.
|
Properties
RecordingStatus
static RecordingStatus RecordingStatus
Gets the current state of the recorder.
Details | |
---|---|
Returns |
The current RecordingStatus.
|
Public static functions
StartRecording
RecordingResult StartRecording( ARCoreRecordingConfig config )
Starts a new recording, using the provided ARCoreRecordingConfig to define the location to save the dataset and other options.
If a recording is already in progress this call will fail. Check RecordingStatus before making this call. When an ARCore session is paused (unless ARCoreRecordingConfig.AutoStopOnPause
is enabled), recording may continue. During this time the camera feed will be recorded as a black screen, but sensor data will continue to be captured.
Details | |||
---|---|---|---|
Parameters |
|
||
Returns |
RecordingResult.
OK if the recording is started (or will start on the next Session resume.) Or a RecordingResult if there was an error. |
StopRecording
RecordingResult StopRecording()
Stops the current recording.
If there is no recording in progress, this method will return RecordingResult.OK
.
Details | |
---|---|
Returns |
RecordingResult.
OK if the recording was stopped successfully, or RecordingResult.ErrorRecordingFailed if there was an error. |