Errors that may be returned by the SDK.
| Properties summary | |
|---|---|
| static |
chrome.cast.ErrorCode.API_NOT_INITIALIZED
The API is not initialized.
|
| static |
chrome.cast.ErrorCode.CANCEL
The operation was canceled by the user.
|
| static |
chrome.cast.ErrorCode.CHANNEL_ERROR
A channel to the receiver is not available.
|
| static |
chrome.cast.ErrorCode.EXTENSION_MISSING
The Cast extension is not available.
|
| static |
chrome.cast.ErrorCode.EXTENSION_NOT_COMPATIBLE
The API script is not compatible with the installed
Cast extension.
|
| static |
chrome.cast.ErrorCode.INVALID_PARAMETER
The parameters to the operation were not valid.
|
| static |
chrome.cast.ErrorCode.LOAD_MEDIA_FAILED
Load media failed.
|
| static |
chrome.cast.ErrorCode.RECEIVER_UNAVAILABLE
No receiver was compatible with the session request.
|
| static |
chrome.cast.ErrorCode.SESSION_ERROR
A session could not be created, or a session was invalid.
|
| static |
chrome.cast.ErrorCode.TIMEOUT
The operation timed out.
|
Property details
static
chrome.cast.ErrorCode.API_NOT_INITIALIZED
The API is not initialized.
static
chrome.cast.ErrorCode.CANCEL
The operation was canceled by the user.
static
chrome.cast.ErrorCode.CHANNEL_ERROR
A channel to the receiver is not available.
static
chrome.cast.ErrorCode.EXTENSION_MISSING
The Cast extension is not available.
static
chrome.cast.ErrorCode.EXTENSION_NOT_COMPATIBLE
The API script is not compatible with the installed Cast extension.
- Deprecated:
- No longer used.
static
chrome.cast.ErrorCode.INVALID_PARAMETER
The parameters to the operation were not valid.
static
chrome.cast.ErrorCode.LOAD_MEDIA_FAILED
Load media failed.
- Deprecated:
- No longer used.
static
chrome.cast.ErrorCode.RECEIVER_UNAVAILABLE
No receiver was compatible with the session request.
static
chrome.cast.ErrorCode.SESSION_ERROR
A session could not be created, or a session was invalid.
static
chrome.cast.ErrorCode.TIMEOUT
The operation timed out.