Error codes for the Media Player error domain.
SDKs
- iOS 9.3+
- macOS 10.14.2+
- Mac Catalyst 13.0+
- tvOS 9.3+
Framework
- Media Player
Error codes for the Media Player error domain.
SDKs
Framework
case unknown
The requested operation could not be completed due to an unknown error.
case permission Denied
The operation could not be performed because the user does not have permission for the request.
case cloud Service Capability Missing
The operation could not be performed because iCloud services are not enabled.
case network Connection Failed
The operation failed due to the device not being able to connect to the network.
case not Found
The operation failed because the requested identifier could not be found in the current storefront.
case not Supported
The operation failed because the requested operation is not supported.
case cancelled
The requested operation was cancelled before it was completed.
case request Timed Out
The requested operation timed out.
static var unknown: MPError .Code
The requested operation could not be completed due to an unknown error.
static var permission Denied: MPError .Code
The operation could not be performed because the user does not have permission for the request.
static var cloud Service Capability Missing: MPError .Code
The operation could not be performed because iCloud services are not enabled.
static var network Connection Failed: MPError .Code
The operation failed due to the device not being able to connect to the network.
static var not Found: MPError .Code
The operation failed because the requested identifier could not be found in the current storefront.
static var not Supported: MPError .Code
The operation failed because the requested operation is not supported.
static var cancelled: MPError .Code
The requested operation was cancelled before it was completed.
static var request Timed Out: MPError .Code
The requested operation timed out.