Interface

ISimulatorReplay

USI.Core

Controls simulator replay playback through one provider-neutral service. Replay files remain owned by the selected simulator; USI does not translate one simulator's replay format into another's.

public interface ISimulatorReplay

Methods

TryExitAsync

public Task<USIResult> TryExitAsync()

Requests an absolute exit from replay playback.

TryGetActiveAsync

public Task<USIResult<Boolean>> TryGetActiveAsync()

Gets whether replay playback is currently active.

TryGoToBeginningAsync

public Task<USIResult> TryGoToBeginningAsync()

Moves replay playback to the beginning.

TryGoToEndAsync

public Task<USIResult> TryGoToEndAsync()

Moves replay playback to the end.

TryLoadAsync

public Task<USIResult> TryLoadAsync(string path)

Loads a simulator-recognized replay file.

TrySaveAsync

public Task<USIResult> TrySaveAsync(string path)

Saves the current replay to a simulator-recognized file.

TrySetPlaybackModeAsync

public Task<USIResult> TrySetPlaybackModeAsync(SimulatorReplayPlaybackMode mode)

Requests a typed replay playback direction and speed.