SourceWarningCode

@Serializable(with = SourceWarningCodeSerializer::class)
enum SourceWarningCode : Enum<SourceWarningCode> , WarningCode

2000 - 2999: Source-related warning codes

  • 2000 - 2099: General

  • 2100 - 2199: Playback

  • 2200 - 2299: Network

  • 2300 - 2399: DRM

Entries

Link copied to clipboard

A general source warning code when a more specific warning code could not be determined. The message of the according SourceEvent.Warning provides more information.

Link copied to clipboard

A track with an unsupported codec or format was discovered. The message of the according SourceEvent.Warning provides more information.

Link copied to clipboard

It was not possible to load a thumbnail track because the URI was not valid or the communication with the server failed. The message of the according SourceEvent.Warning provides more information.

Link copied to clipboard

It was not possible to parse a thumbnail track. The message of the according SourceEvent.Warning provides more information.

Link copied to clipboard

It was not possible to load a subtitle track because the URI was not valid or the communication with the server failed. The message of the according SourceEvent.Warning provides more information.

Link copied to clipboard

It was not possible to parse a subtitle track. The message of the according SourceEvent.Warning provides more information.

Link copied to clipboard

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

Link copied to clipboard

It was not possible to parse some metadata. The message of the according SourceEvent.Warning provides more information.

Link copied to clipboard

A media track or quality was filtered out of the playback session according to the configured MediaFilter. The message of the according SourceEvent.Warning provides more information.

Link copied to clipboard

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

Link copied to clipboard

A general error indicating that the current DRM session failed and a more specific warning code could not be determined. The player may be able to recover from the error and continue playback.

Link copied to clipboard

The response to the DRM license request failed with an invalid HTTP response code. The player may be able to recover from the error and continue playback.

Link copied to clipboard

It was not possible to setup the configured security level. The message of the according SourceEvent.Warning provides more information.

Link copied to clipboard

The offline DRM license key expired and should be renewed. The player may be able to recover from the error and continue playback.

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.