ReplayOptions
ConsoleMonster.Replay
Options for ReplayPlayer.Play.
Inheritance
- object
- ReplayOptions
Usage
Explore 42 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 21
- Extension method ReplayOptions.AutoPlay
- Extension method ReplayOptions.FramesPerSecond
- Extension method ReplayOptions.Height
- Extension method ReplayOptions.Inline
- Extension method ReplayOptions.Interactive
- Extension method ReplayOptions.MaxFrames
- Extension method ReplayOptions.PlaybackMode
- Extension method ReplayOptions.Session
- Extension method ReplayOptions.Speed
- Extension method ReplayOptions.Title
- Method ReplayOptions.Clone
- Method ReplayOptionsFluent.AutoPlay
- Method ReplayOptionsFluent.FramesPerSecond
- Method ReplayOptionsFluent.Height
- Method ReplayOptionsFluent.Inline
- Method ReplayOptionsFluent.Interactive
- Method ReplayOptionsFluent.MaxFrames
- Method ReplayOptionsFluent.PlaybackMode
- Method ReplayOptionsFluent.Session
- Method ReplayOptionsFluent.Speed
- Method ReplayOptionsFluent.Title
Accepted by parameters 21
- Extension method ReplayOptions.AutoPlay
- Extension method ReplayOptions.FramesPerSecond
- Extension method ReplayOptions.Height
- Extension method ReplayOptions.Inline
- Extension method ReplayOptions.Interactive
- Extension method ReplayOptions.MaxFrames
- Extension method ReplayOptions.PlaybackMode
- Extension method ReplayOptions.Session
- Extension method ReplayOptions.Speed
- Extension method ReplayOptions.Title
- Method ReplayOptionsFluent.AutoPlay
- Method ReplayOptionsFluent.FramesPerSecond
- Method ReplayOptionsFluent.Height
- Method ReplayOptionsFluent.Inline
- Method ReplayOptionsFluent.Interactive
- Method ReplayOptionsFluent.MaxFrames
- Method ReplayOptionsFluent.PlaybackMode
- Method ReplayOptionsFluent.Session
- Method ReplayOptionsFluent.Speed
- Method ReplayOptionsFluent.Title
- Method ReplayPlayer.Play
Constructors
public ReplayOptions() #Methods
public ReplayOptions Clone() #Copies the replay request; explicitly supplied session and device objects remain shared.
Inherited Methods
Properties
public PlaybackMode PlaybackMode { get; set; } #The playback job; interactive controls by default.
public LiveSessionOptions? Session { get; set; } #Session configuration for automatic playback, including a deterministic delay or host output.
public string? Title { get; set; } #The run name shown in the header (default the recorded dashboard title, or "Replay"). A recorded Dashboard's own header and footer are not replayed: its title (when it adds to this name), subtitle and status show in the player's header.
public bool Inline { get; set; } #Plays inline, below the cursor, instead of on the whole window.
public bool AutoPlay { get; set; } #Starts playing at once (default true); false opens paused at the start.
public int? Height { get; set; } #The height of the recorded screen in rows, or null: the window (full screen) or the dashboard's own height (inline).
public double FramesPerSecond { get; set; } #How often the recording is sampled, in frames per second (default 10; identical frames are merged).
public int MaxFrames { get; set; } #The most frames kept; a longer recording is sampled less often (default 3000).
public InteractiveOptions? Interactive { get; set; } #Input, target, language and other interactive settings, or null for the defaults.
Extension Methods
public static ReplayOptions AutoPlay(ReplayOptions replayOptions, bool value = true) #Sets ReplayOptions.AutoPlay: Starts playing at once (default true); false opens paused at the start.
Parameters
- replayOptions ConsoleMonster.Replay.ReplayOptions
- The instance.
- value bool = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Replay.ReplayOptions { AutoPlay = value }; replayOptions.AutoPlay(value);public static ReplayOptions FramesPerSecond(ReplayOptions replayOptions, double value) #Sets ReplayOptions.FramesPerSecond: How often the recording is sampled, in frames per second (default 10; identical frames are merged).
Parameters
- replayOptions ConsoleMonster.Replay.ReplayOptions
- The instance.
- value double
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Replay.ReplayOptions { FramesPerSecond = value }; replayOptions.FramesPerSecond(value);public static ReplayOptions Height(ReplayOptions replayOptions, int? value) #Sets ReplayOptions.Height: The height of the recorded screen in rows, or null: the window (full screen) or the dashboard's own height (inline).
Parameters
- replayOptions ConsoleMonster.Replay.ReplayOptions
- The instance.
- value int?
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Replay.ReplayOptions { Height = value }; replayOptions.Height(value);public static ReplayOptions Inline(ReplayOptions replayOptions, bool value = true) #Sets ReplayOptions.Inline: Plays inline, below the cursor, instead of on the whole window.
Parameters
- replayOptions ConsoleMonster.Replay.ReplayOptions
- The instance.
- value bool = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Replay.ReplayOptions { Inline = value }; replayOptions.Inline(value);public static ReplayOptions Interactive(ReplayOptions replayOptions, InteractiveOptions? value) #Sets ReplayOptions.Interactive: Input, target, language and other interactive settings, or null for the defaults.
Parameters
- replayOptions ConsoleMonster.Replay.ReplayOptions
- The instance.
- value ConsoleMonster.Interactive.InteractiveOptions?
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Replay.ReplayOptions { Interactive = value }; replayOptions.Interactive(value);public static ReplayOptions Interactive(ReplayOptions replayOptions, Action<InteractiveOptions> configure) #Configures ReplayOptions.Interactive in place (creating it when not set): Input, target, language and other interactive settings, or null for the defaults.
Parameters
- replayOptions ConsoleMonster.Replay.ReplayOptions
- The instance.
- configure System.Action<ConsoleMonster.Interactive.InteractiveOptions>
- Configures the value.
public static ReplayOptions MaxFrames(ReplayOptions replayOptions, int value) #Sets ReplayOptions.MaxFrames: The most frames kept; a longer recording is sampled less often (default 3000).
Parameters
- replayOptions ConsoleMonster.Replay.ReplayOptions
- The instance.
- value int
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Replay.ReplayOptions { MaxFrames = value }; replayOptions.MaxFrames(value);public static ReplayOptions PlaybackMode(ReplayOptions replayOptions, PlaybackMode value) #Sets ReplayOptions.PlaybackMode: The playback job; interactive controls by default.
Parameters
- replayOptions ConsoleMonster.Replay.ReplayOptions
- The instance.
- value ConsoleMonster.Replay.PlaybackMode
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Replay.ReplayOptions { PlaybackMode = value }; replayOptions.PlaybackMode(value);public static ReplayOptions Session(ReplayOptions replayOptions, LiveSessionOptions? value) #Sets ReplayOptions.Session: Session configuration for automatic playback, including a deterministic delay or host output.
Parameters
- replayOptions ConsoleMonster.Replay.ReplayOptions
- The instance.
- value ConsoleMonster.Live.LiveSessionOptions?
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Replay.ReplayOptions { Session = value }; replayOptions.Session(value);public static ReplayOptions Session(ReplayOptions replayOptions, Action<LiveSessionOptions> configure) #Configures ReplayOptions.Session in place (creating it when not set): Session configuration for automatic playback, including a deterministic delay or host output.
Parameters
- replayOptions ConsoleMonster.Replay.ReplayOptions
- The instance.
- configure System.Action<ConsoleMonster.Live.LiveSessionOptions>
- Configures the value.
public static ReplayOptions Speed(ReplayOptions replayOptions, double value) #Sets ReplayOptions.Speed: The starting speed (0.25 to 16, default 1).
Parameters
- replayOptions ConsoleMonster.Replay.ReplayOptions
- The instance.
- value double
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Replay.ReplayOptions { Speed = value }; replayOptions.Speed(value);public static ReplayOptions Title(ReplayOptions replayOptions, string? value) #Sets ReplayOptions.Title: The run name shown in the header (default the recorded dashboard title, or "Replay"). A recorded Dashboard's own header and footer are not replayed: its title (when it adds to this name), subtitle and status show in the player's header.
Parameters
- replayOptions ConsoleMonster.Replay.ReplayOptions
- The instance.
- value string?
- The value.
Examples
// C# initializer or property // C# fluent
new global::ConsoleMonster.Replay.ReplayOptions { Title = value }; replayOptions.Title(value);