THEOErrorCode
@objc(THEOplayerTHEOErrorCode)
public enum THEOErrorCode : Int32, Codable, CaseIterable
A code that indicates the type of error that has occurred.
-
The configuration provided is invalid.
Declaration
Swift
@objc(THEOErrorCodeCONFIGURATION_ERROR) case CONFIGURATION_ERROR = 1000
-
The license provided is invalid.
Declaration
Swift
@objc(THEOErrorCodeLICENSE_ERROR) case LICENSE_ERROR = 2000
-
The provided license does not contain the current domain.
Declaration
Swift
@objc(THEOErrorCodeLICENSE_INVALID_DOMAIN) case LICENSE_INVALID_DOMAIN = 2001
-
The current source is not allowed in the license provided.
Declaration
Swift
@objc(THEOErrorCodeLICENSE_INVALID_SOURCE) case LICENSE_INVALID_SOURCE = 2002
-
The license has expired.
Declaration
Swift
@objc(THEOErrorCodeLICENSE_EXPIRED) case LICENSE_EXPIRED = 2003
-
The provided license does not contain the necessary feature.
Declaration
Swift
@objc(THEOErrorCodeLICENSE_INVALID_FEATURE) case LICENSE_INVALID_FEATURE = 2004
-
The source provided is not valid.
Declaration
Swift
@objc(THEOErrorCodeSOURCE_INVALID) case SOURCE_INVALID = 3000
-
The provided source is not supported.
Declaration
Swift
@objc(THEOErrorCodeSOURCE_NOT_SUPPORTED) case SOURCE_NOT_SUPPORTED = 3001
-
The manifest could not be loaded.
Declaration
Swift
@objc(THEOErrorCodeMANIFEST_LOAD_ERROR) case MANIFEST_LOAD_ERROR = 4000
-
An Error related to Cross-origin resource sharing (CORS).
Declaration
Swift
@objc(THEOErrorCodeMANIFEST_CORS_ERROR) case MANIFEST_CORS_ERROR = 4001
-
The manifest could not be parsed.
Declaration
Swift
@objc(THEOErrorCodeMANIFEST_PARSE_ERROR) case MANIFEST_PARSE_ERROR = 4002
-
The media is not supported.
Declaration
Swift
@objc(THEOErrorCodeMEDIA_NOT_SUPPORTED) case MEDIA_NOT_SUPPORTED = 5000
-
The media could not be loaded.
Declaration
Swift
@objc(THEOErrorCodeMEDIA_LOAD_ERROR) case MEDIA_LOAD_ERROR = 5001
-
The media could not be decoded.
Declaration
Swift
@objc(THEOErrorCodeMEDIA_DECODE_ERROR) case MEDIA_DECODE_ERROR = 5002
-
An error related to playback through AVPlayer in the iOS or tvOS SDK.
Declaration
Swift
@objc(THEOErrorCodeMEDIA_AVPLAYER_ERROR) case MEDIA_AVPLAYER_ERROR = 5003
-
The fetching process for the media resource was aborted by the user agent at the user’s request.
Declaration
Swift
@objc(THEOErrorCodeMEDIA_ABORTED) case MEDIA_ABORTED = 5004
-
An error related to network has been detected.
Declaration
Swift
@objc(THEOErrorCodeNETWORK_ERROR) case NETWORK_ERROR = 6000
-
The network has timed out.
Declaration
Swift
@objc(THEOErrorCodeNETWORK_TIMEOUT) case NETWORK_TIMEOUT = 6001
-
An error related to the content protection.
Declaration
Swift
@objc(THEOErrorCodeCONTENT_PROTECTION_ERROR) case CONTENT_PROTECTION_ERROR = 7000
-
The DRM provided is not supported on this platform.
Declaration
Swift
@objc(THEOErrorCodeCONTENT_PROTECTION_NOT_SUPPORTED) case CONTENT_PROTECTION_NOT_SUPPORTED = 7001
-
The media is DRM protected, but no content protection configuration was provided.
Declaration
Swift
@objc(THEOErrorCodeCONTENT_PROTECTION_CONFIGURATION_MISSING) case CONTENT_PROTECTION_CONFIGURATION_MISSING = 7002
-
The content protection configuration is invalid.
Declaration
Swift
@objc(THEOErrorCodeCONTENT_PROTECTION_CONFIGURATION_INVALID) case CONTENT_PROTECTION_CONFIGURATION_INVALID = 7003
-
The DRM initialization data could not be parsed.
Declaration
Swift
@objc(THEOErrorCodeCONTENT_PROTECTION_INITIALIZATION_INVALID) case CONTENT_PROTECTION_INITIALIZATION_INVALID = 7004
-
The content protection’s certificate could not be loaded.
Declaration
Swift
@objc(THEOErrorCodeCONTENT_PROTECTION_CERTIFICATE_ERROR) case CONTENT_PROTECTION_CERTIFICATE_ERROR = 7005
-
The content protection’s certificate is invalid.
Declaration
Swift
@objc(THEOErrorCodeCONTENT_PROTECTION_CERTIFICATE_INVALID) case CONTENT_PROTECTION_CERTIFICATE_INVALID = 7006
-
The content protection’s license could not be loaded.
Declaration
Swift
@objc(THEOErrorCodeCONTENT_PROTECTION_LICENSE_ERROR) case CONTENT_PROTECTION_LICENSE_ERROR = 7007
-
The content protection’s license is invalid.
Declaration
Swift
@objc(THEOErrorCodeCONTENT_PROTECTION_LICENSE_INVALID) case CONTENT_PROTECTION_LICENSE_INVALID = 7008
-
The content protection’s key has expired.
Declaration
Swift
@objc(THEOErrorCodeCONTENT_PROTECTION_KEY_EXPIRED) case CONTENT_PROTECTION_KEY_EXPIRED = 7009
-
The content protection’s key is missing.
Declaration
Swift
@objc(THEOErrorCodeCONTENT_PROTECTION_KEY_MISSING) case CONTENT_PROTECTION_KEY_MISSING = 7010
-
All qualities require HDCP, but the current output does not fulfill HDCP requirements.
Declaration
Swift
@objc(THEOErrorCodeCONTENT_PROTECTION_OUTPUT_RESTRICTED) case CONTENT_PROTECTION_OUTPUT_RESTRICTED = 7011
-
Something went wrong in the internal logic of the content protection system.
Declaration
Swift
@objc(THEOErrorCodeCONTENT_PROTECTION_INTERNAL_ERROR) case CONTENT_PROTECTION_INTERNAL_ERROR = 7012
-
Loading subtitles has failed.
Declaration
Swift
@objc(THEOErrorCodeSUBTITLE_LOAD_ERROR) case SUBTITLE_LOAD_ERROR = 8000
-
Loading subtitles has failed due to CORS.
Declaration
Swift
@objc(THEOErrorCodeSUBTITLE_CORS_ERROR) case SUBTITLE_CORS_ERROR = 8001
-
Parsing subtitles has failed.
Declaration
Swift
@objc(THEOErrorCodeSUBTITLE_PARSE_ERROR) case SUBTITLE_PARSE_ERROR = 8002
-
This error occurs when VR is not supported on the current platform.
Declaration
Swift
@objc(THEOErrorCodeVR_PLATFORM_UNSUPPORTED) case VR_PLATFORM_UNSUPPORTED = 9000
-
Changing the presentation to VR was not possible.
Declaration
Swift
@objc(THEOErrorCodeVR_PRESENTATION_ERROR) case VR_PRESENTATION_ERROR = 9001
-
The right permissions to enable native VR were not given to the player.
Declaration
Swift
@objc(THEOErrorCodeVR_PERMISSION_ERROR) case VR_PERMISSION_ERROR = 9002
-
Something went wrong with an ad.
Declaration
Swift
@objc(THEOErrorCodeAD_ERROR) case AD_ERROR = 10000
-
An ad blocker has been detected.
Declaration
Swift
@objc(THEOErrorCodeAD_BLOCKER_DETECTED) case AD_BLOCKER_DETECTED = 10001
-
Changing the presentation to fullscreen was not possible.
Declaration
Swift
@objc(THEOErrorCodeFULLSCREEN_ERROR) case FULLSCREEN_ERROR = 11000