OfflineErrorCode

OfflineErrorCode

@Serializable(with = OfflineErrorCodeSerializer::class)

enum OfflineErrorCode : ErrorCode, Enum<OfflineErrorCode>

3000 - 3999: Offline-related error codes

Entries

GeneralGeneral
A general offline related error code when a more specific error code could not be determined.
DownloadFailedDownloadFailed
The download of a track failed. The message of the according OfflineEvent.Error provides more information.
InsufficientStorageInsufficientStorage
The operation could not be completed due to insufficient disk space for downloading content.
FileAccessDeniedFileAccessDenied
Access to the required files is denied.
FolderLockedFolderLocked
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.
DeadLockDeadLock
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.
NoOptionsAvailableNoOptionsAvailable
The OfflineContentOptions could not be generated.
DrmGeneralDrmGeneral
A general error indicating that the current DRM session could not be completed due to an unspecified issue.
DrmUnsupportedDrmUnsupported
The provided DRM scheme is not supported on the device. See SourceErrorCode.DrmUnsupported for additional information.

Types

NameSummary
Companionobject Companion

Properties

NameSummary
entriesval entries: EnumEntries<OfflineErrorCode>
Returns a representation of an immutable list of all enum entries, in the order they're declared.
valueopen override val value: Int
The raw code value associated with the deficiency.

Functions

NameSummary
valueOffun valueOf(value: String): OfflineErrorCode
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.)
valuesfun values(): Array<OfflineErrorCode>
Returns an array containing the constants of this enum type, in the order they're declared.