AdBreakPhase

Lifecycle phase reported by AdBreakStatus. Mirrors the TS AdBreakPhase.

  • IDLE: no break is upcoming or active.

  • UPCOMING: a break is scheduled in the future (including pre-break warnings).

  • ACTIVE: a break is currently playing.

  • COMPLETE: reserved terminal phase (the SDK resets to IDLE on break end).

Entries

Link copied to clipboard

No break is upcoming or active.

Link copied to clipboard

A break is scheduled in the future, including pre-break warnings.

Link copied to clipboard

A break is currently playing.

Link copied to clipboard

Reserved terminal phase; the SDK resets to IDLE on break end.

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard

The value as reported in the status.

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.