PlayerWarningCode
@Serializable(with = PlayerWarningCodeSerializer::class)
enum PlayerWarningCode : WarningCode, Enum<PlayerWarningCode>
1000 - 1999: Player-related warning codes
- 1000 - 1099: General
- 1100 - 1199: Playback
- 1200 - 1299: Network
- 1300 - 1399: Advertising
- 1400 - 1499: DRM
- 1500 - 1599: UI
Entries
| General | General A general player warning code when a more specific warning code could not be determined. Use this to catch generic issues that don't fit into a more specific category. |
| CastSourceMappingFailed | CastSourceMappingFailed The playlist state on the cast-enabled device is inconsistent with the local playlist state. See Setting up Google Cast support for guidance on proper setup. |
| PlaylistManipulationFailed | PlaylistManipulationFailed An error occurred while trying to manipulate the playlist. For more details, refer to the PlayerEvent.Warning message associated with this warning. |
| IncorrectApiUsage | IncorrectApiUsage The current state does not allow the specific API call that was attempted. For more details, refer to the PlayerEvent.Warning message associated with this warning. |
| FeatureContextuallyUnsupported | FeatureContextuallyUnsupported A feature is not supported in the current context. For more details, refer to the PlayerEvent.Warning message associated with this warning. |
| RemotePlaybackFailed | RemotePlaybackFailed Playback on the cast-enabled device failed. |
| TargetLatencyTooLowForCurrentNetworkQuality | TargetLatencyTooLowForCurrentNetworkQuality Target latency for live playback is estimated to be too low for the current network conditions (latency and jitter). For more details, refer to the PlayerEvent.Warning message associated with this warning. |
| DecoderInitializationRetry | DecoderInitializationRetry Initialization of a decoder failed, but the player will attempt to retry. For more details, refer to the PlayerEvent.Warning message associated with this warning. |
| DecoderInitializationFallback | DecoderInitializationFallback Initialization of a decoder failed and a fallback decoder will be used. Additional failures may result in a PlayerEvent.Error. |
| MainContentDecodingDuringAdsDisabled | MainContentDecodingDuringAdsDisabled Main content decoding during ads was disabled to allow ad playback. |
| AdvertisingGeneral | AdvertisingGeneral A general warning code for advertising-related issues when no specific code is applicable. For more details, refer to the advertising setup documentation. |
| AdBreakFetchingFailed | AdBreakFetchingFailed The current ad break will not play any ads. One possible reason is that AdSourceType.Ima is used and no ads were returned from the ad server. For more information, consult the relevant PlayerEvent.Warning message. |
| AdDiscarded | AdDiscarded An ad was discarded by the player. This could be due to various issues with the ad or its content. |
| DisablingImaUiFailed | DisablingImaUiFailed It is not possible to disable the IMA UI for the current Ad, but the player was configured to disabling it if possible. |
| ApplyingImaUiElementPreferenceFailed | ApplyingImaUiElementPreferenceFailed It is not possible to apply the preferred IMA UI elements. See ImaConfig.preferredUiType for details. |
| InconsistentStateInIma | InconsistentStateInIma Interaction with the IMA (Interactive Media Ads) system appears inconsistent. Ad playback or ad state may not behave as expected. Make sure you are using a supported IMA SDK version. See What IMA SDK versions are compatible with the Bitmovin Player Android SDK? for supported versions. |
| DrmGeneral | DrmGeneral A generic DRM-related warning. This is for situations where the warning relates to a DRM workflow but no specific DRM-related warning code applies. For more details on setting up DRM, refer to the documentation for streaming DRM content. |
| UiGeneral | UiGeneral A generic UI-related warning. This is for situations where the warning relates to UI components but no specific Web UI-related warning code applies. |
| WebUiInitializationFailed | WebUiInitializationFailed Indicates that the Web UI failed to initialize. This may affect the functionality of the Web UI components within the player and potentially leads to the complete absence of the Web UI. |
Types
| Name | Summary |
|---|---|
| Companion | object Companion |
Properties
| Name | Summary |
|---|---|
| entries | val entries: EnumEntries<PlayerWarningCode> Returns a representation of an immutable list of all enum entries, in the order they're declared. |
| value | open override val value: Int The raw code value associated with the deficiency. |
Functions
| Name | Summary |
|---|---|
| valueOf | fun valueOf(value: String): PlayerWarningCode 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.) |
| values | fun values(): Array<PlayerWarningCode> Returns an array containing the constants of this enum type, in the order they're declared. |