MapGptReplayController

class MapGptReplayController(mapGptReplayRecorder: MapGptReplayRecorder, mapGptReplayer: MapGptReplayer, debugModeRepository: DebugModeRepository, scope: CoroutineScope)

Constructors

Link copied to clipboard
constructor(mapGptReplayRecorder: MapGptReplayRecorder, mapGptReplayer: MapGptReplayer, debugModeRepository: DebugModeRepository, scope: CoroutineScope)

Properties

Link copied to clipboard

Provides a state of the MapGptReplayStatus of the MapGptReplayer.

Functions

Link copied to clipboard
fun getReplayRecorder(): ReplayRecorder
Link copied to clipboard
Link copied to clipboard
fun startSession(recordingSession: MapGptRecordingSession)

Loads the recording session and starts the replaying of the session's events.

fun startSession(pathToRecordingSessionFile: String)

Loads the recording session file at the path specified and starts the playback of events. Note: The path to the file should point to a file on the device.