PlayerWarningCode

@Serializable(with = PlayerWarningCodeSerializer::class)
enum PlayerWarningCode : Enum<PlayerWarningCode> , WarningCode

1000 - 1999: Player-related warning codes

  • 1000 - 1099: General

  • 1100 - 1199: Playback

  • 1200 - 1299: Network

  • 1300 - 1399: Advertising

Entries

Link copied to clipboard

A general player warning code when a more specific warning code could not be determined.

Link copied to clipboard

The playlist state on the cast enabled device is inconsistent to the local playlist state. The message of the according PlayerEvent.Warning provides more information.

Link copied to clipboard

It was not possible to manipulate the playlist. The message of the according PlayerEvent.Warning provides more information.

Link copied to clipboard

The current state does not allow a specific API call. The message of the according PlayerEvent.Warning provides more information.

Link copied to clipboard

A feature is not supported in the current context. The message of the according PlayerEvent.Warning provides more information.

Link copied to clipboard

Playback on the cast enabled device failed. The message of the according PlayerEvent.Warning provides more information.

Target latency for live playback is estimated to be too low for the current network latency and jitter. The message of the according PlayerEvent.Warning provides more information.

Link copied to clipboard

Initialization of a decoder failed, but it is going to be retried. Further failures may result in a PlayerEvent.Error.

Link copied to clipboard

Initialization of a decoder failed and a fallback decoder is chosen and going to be initialized. Further failures may result in a PlayerEvent.Error.

Link copied to clipboard

A general advertising warning code when a more specific warning code could not be determined.

Link copied to clipboard

The current ad break will not play back any ads.

Link copied to clipboard

An ad was discarded by the player. The message of the according PlayerEvent.Warning provides more information.

Link copied to clipboard

It is not possible to disable the IMA UI for the current Ad, but the player was configured to disabling it if possible.

Link copied to clipboard

It is not possible to apply the preferred IMA UI elements.

Types

Link copied to clipboard
object Companion

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
open override val value: Int

The raw code value associated with the deficiency.

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.