OfflineErrorCode

@Serializable(with = OfflineErrorCodeSerializer::class)
enum OfflineErrorCode : Enum<OfflineErrorCode> , ErrorCode

3000 - 3999: Offline-related error codes

Entries

Link copied to clipboard

A general offline related error code when a more specific error code could not be determined.

Link copied to clipboard

The download of a track failed. The message of the according OfflineEvent.Error provides more information.

Link copied to clipboard

There is not enough disk space left to proceed with downloading content.

Link copied to clipboard

It is not possible to access needed files. This can be caused by missing privileges or because the requested resource is already used by another process. The message of the according OfflineEvent.Error provides more information.

Link copied to clipboard

A lock on a file which needs to be accessed is present, therefore an operation could not be completed. Requested actions should be requested again. If the error is thrown permanently, a dead lock may be present. The message of the according OfflineEvent.Error provides more information.

Link copied to clipboard

A file lock could not be removed. This results in a situation that the SDK can not resolve automatically. The message of the according OfflineEvent.Error provides more information.

Link copied to clipboard

OfflineContentOptions could not be generated. This indicates that the device either is currently offline and the options have never been fetched before or that the online source itself can not be accessed.

Link copied to clipboard

A general error indicating that the current DRM session failed for some reason. The message of the according OfflineEvent.Error provides more information.

Link copied to clipboard

The provided DRM scheme is not supported on the device.

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.