Skip to main content

BusySnapshotInterval

Namespace: Busy.Bar

A work/rest interval BUSY timer is running.

public sealed record class BusySnapshotInterval : BusySnapshotState, System.IEquatable`1[[Busy.Bar.BusySnapshotState, BusyBar, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]], System.IEquatable`1[[Busy.Bar.BusySnapshotInterval, BusyBar, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]

Inheritance ObjectBusySnapshotState → BusySnapshotInterval
Implements IEquatable<BusySnapshotState>, IEquatable<BusySnapshotInterval>
Attributes NullableContextAttribute, NullableAttribute, RequiredMemberAttribute

Properties

CardId

Identifier of the card/profile the running timer was started from.

public required string CardId { get; init; }

Property Value

String

CurrentInterval

1-based index of the interval cycle currently in progress.

public required int CurrentInterval { get; init; }

Property Value

Int32

CurrentIntervalTimeTotalMs

Total duration of the current interval, in milliseconds.

public required long CurrentIntervalTimeTotalMs { get; init; }

Property Value

Int64

CurrentIntervalTimeLeftMs

Time remaining in the current interval, in milliseconds.

public required long CurrentIntervalTimeLeftMs { get; init; }

Property Value

Int64

IsPaused

Whether the timer is currently paused.

public required bool IsPaused { get; init; }

Property Value

Boolean

IntervalSettings

The interval timer settings the running timer was started with.

public required BusyTimerIntervalSettings IntervalSettings { get; init; }

Property Value

BusyTimerIntervalSettings

BusyBarSettings

Presentation settings in effect for this snapshot, if the timer has been started.

public BusyBarSettings? BusyBarSettings { get; init; }

Property Value

BusyBarSettings

Constructors

BusySnapshotInterval()

Caution

Constructors of types with required members are not supported in this version of your compiler.


public BusySnapshotInterval()