The following errors can occur while trying to download content for watching offline.
API
/**
* Register a callback to be invoked on OTVDownloadManager to check the state change
*/
public void registerDownloadStateListener(OTVDownloadListener listener);
The OTVDownloadListener needs to implemented by application while registering.
|
What |
Extra |
Description |
Application error handling recommendation |
|---|---|---|---|
|
ERROR_NETWORK = -1000 |
ERROR_NETWORK_HTTP_403 = -1001 |
HTTP 403 error occurred during offline playback. |
No retry |
|
ERROR_NETWORK = -1000 |
ERROR_NETWORK_HTTP_404 = - 1002 |
HTTP 404 error occurred during offline playback. |
No retry |
|
ERROR_NETWORK = -1000 |
ERROR_NETWORK_HTTP_UNREACHABLE = - 1003 |
HTTP error with invalid response code. |
No retry |
|
ERROR_SETUP = - 2000 |
ERROR_INSUFFICIENT_DISK_SPACE = - 2001 |
Not enough disk space for offline playback. |
No retry |
|
ERROR_SETUP = - 2000 |
ERROR_MISSING_PERMISSION = - 2002 |
Permissions required for offline playback. |
No retry |
|
ERROR_LICENSE = - 3000 |
ERROR_FETCH_LICENSE_FAILURE = - 3001 |
Licence fetch failed. |
No retry |
|
ERROR_LICENSE = - 3000 |
ERROR_STORE_LICENSE_FAILURE = - 3002 |
The downloaded licence is not storable. |
No retry |
|
ERROR_CONTENT = - 4000 |
ERROR_MISFORMATTED_MANIFEST = - 4001 |
The manifest is not according to the specifications. |
No retry |
|
ERROR_CONTENT = - 4000 |
ERROR_UNSUPPORTED_MANIFEST = - 4002 |
The manifest is not supported. |
No retry |
|
ERROR_STORAGE_ACCESS = - 5000 |
ERROR_PATH_IN_USE = - 5001 |
The path cannot be modified because it is already in use. |
No retry |
|
ERROR_UNKNOWN = - 10000 |
|
Unknown error during offline playback. |
No retry |