Method StartPlayback
StartPlayback(string)
Starts playing back a previously recorded session. (see StartRecording(ArRecordingConfig))
Declaration
public ArStatus StartPlayback(string playbackDataset)
Parameters
Type | Name | Description |
---|---|---|
string | playbackDataset | The path to an mp4 file previously recorded using StartRecording(ArRecordingConfig). |
Returns
Type | Description |
---|---|
ArStatus | Returns Success if successful. Returns one of the following otherwise: - Returns ErrorSessionUnsupported if playback is incompatible with selected features. - Returns ErrorPlaybackFailed if an error occurred with the MP4 dataset file such as not being able to open the file or the file is unable to be decoded. |
Remarks
The begin playback, the session must first be paused, the playback dataset set, then resumed. This method does all of those things for you, but can take significant time (.5 - 1 seconds) to do so.