ErrorCode

@Serializable(with = ErrorCodeSerializer::class)
enum ErrorCode : Enum<ErrorCode>

Represents the error codes.

Entries

Link copied to clipboard

No error.

Link copied to clipboard

The event was aborted by user.

Link copied to clipboard

Some kind of network error occurred which prevented the media from being successfully fetched, despite having previously been available.

Link copied to clipboard

Despite having previously been determined to be usable, an error occurred while trying to decode the media resource, resulting in an error.

Link copied to clipboard

The media resource was determined to be unsuitable.

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
Link copied to clipboard
Link copied to clipboard
val value: Int

Functions

Link copied to clipboard
fun valueOf(value: String): ErrorCode

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.