OfflineErrorCode
@Serializable(with = OfflineErrorCodeSerializer::class)
enum OfflineErrorCode : ErrorCode, Enum<OfflineErrorCode>
3000 - 3999: Offline-related error codes
Entries
| General | General A general offline related error code when a more specific error code could not be determined. |
| DownloadFailed | DownloadFailed The download of a track failed. The message of the according OfflineEvent.Error provides more information. |
| InsufficientStorage | InsufficientStorage The operation could not be completed due to insufficient disk space for downloading content. |
| FileAccessDenied | FileAccessDenied Access to the required files is denied. |
| FolderLocked | FolderLocked 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. |
| DeadLock | DeadLock 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. |
| NoOptionsAvailable | NoOptionsAvailable The OfflineContentOptions could not be generated. |
| DrmGeneral | DrmGeneral A general error indicating that the current DRM session could not be completed due to an unspecified issue. |
| DrmUnsupported | DrmUnsupported The provided DRM scheme is not supported on the device. See SourceErrorCode.DrmUnsupported for additional information. |
Types
| Name | Summary |
|---|---|
| Companion | object Companion |
Properties
| Name | Summary |
|---|---|
| entries | val entries: EnumEntries<OfflineErrorCode> 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): 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.) |
| values | fun values(): Array<OfflineErrorCode> Returns an array containing the constants of this enum type, in the order they're declared. |