PlayerErrorCode
@Serializable(with = PlayerErrorCodeSerializer::class)
enum PlayerErrorCode : ErrorCode, Enum<PlayerErrorCode>
1000 - 1999: Player-related error codes
- 1000 - 1099: General
- 1100 - 1199: Playback
- 1200 - 1299: Network
Entries
| General | General A general player error code when a more specific error code could not be determined. See Logging in the Android Player SDK for instructions on enabling verbose logging for contacting support with a full error report. |
| LicenseKeyNotFound | LicenseKeyNotFound Verification of the player license key failed because no license key was found. Make sure that a valid license is provided in the app manifest or PlayerConfig. |
| LicenseAuthenticationFailed | LicenseAuthenticationFailed The license request was failed or was denied by the server. One possible reason is that the package of the app is not authorized for the specified player license key. Make sure that the package name of the application is registered for the license key provided in the app manifest or PlayerConfig. This can be done in the Bitmovin dashboard. |
| Timeout | Timeout The player timed out in a non-network operation, e.g. when detaching the surface or releasing the player. Surface detachment timeouts can usually be ignored, as they do not affect playback. In order to avoid timeouts when releasing the player you can configure a longer timeout in the TweaksConfig.detachSurfaceTimeout and TweaksConfig.releasePlayerTimeout properties. |
| InconsistentStateInIntegration | InconsistentStateInIntegration Interaction with an integration seems to be inconsistent. |
| DecoderGeneral | DecoderGeneral A general error indicating that a decoder action failed. The message of the according PlayerEvent.Error provides more information. |
| DecoderInitialization | DecoderInitialization Initialization of a decoder failed. The message of the according PlayerEvent.Error provides more information. |
| DecodingFailed | DecodingFailed Decoding a media segment failed. The message of the according PlayerEvent.Error provides more information. |
| DecodingUnsupported | DecodingUnsupported Decoding of unsupported data format failed. The message of the according PlayerEvent.Error provides more information. |
| DecodingExceedsCapabilities | DecodingExceedsCapabilities Decoding of a format that exceeds the device capabilities failed. The message of the according PlayerEvent.Error provides more information. |
Types
| Name | Summary |
|---|---|
| Companion | object Companion |
Properties
| Name | Summary |
|---|---|
| entries | val entries: EnumEntries<PlayerErrorCode> 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): PlayerErrorCode 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<PlayerErrorCode> Returns an array containing the constants of this enum type, in the order they're declared. |