Contents

ContentFailure

An object that describes why the client can’t play a specific piece of content.

Declaration

object ContentFailure

Properties

NameTypeDescription
errorCode Requiredint64

The error’s identity.

errorDomain Requiredstring

The error’s domain. This is com.apple.sirikitcloudmedia.errorDomain.

url Requiredstring

The URL of the content the client can’t play.

underlyingErrorUnderlyingError

An object that, when present, provides additional information about why the content fails to play.

Discussion

The value of errorCode is one of the following:

Code

Description

0

The client encountered an unexpected error.

1000

The number of items in the queue segment exceeds the configured maximum. For more information, see Constraints.

1001

The client failed to play the specified item. For more information, see Underlyingerror.

1002

The client failed to obtain a content key for a protected item.

If you receive a ContentFailure with an errorCode of 1002, check the following:

See Also

Playback Failure