Instance Property

redirect

An URL request instance if the loading request was redirected.

Declaration

var redirect: URLRequest? { get set }

Discussion

Set this property to an instance of NSURLRequest indicating a redirection of the loading request to another URL.

If no redirection is needed, the value of this property must be nil, which is the default.

See Also

Accessing the Request Data

var request: URLRequest

The URL request object for the resource.

var requestor: AVAssetResourceLoadingRequestor

The asset resource requestor that made the request.

class AVAssetResourceLoadingRequestor

An object that contains information about the originator of a loading request.

func streamingContentKeyRequestData(forApp: Data, contentIdentifier: Data, options: [String : Any]?) -> Data

Obtains key request data for a specific combination of application and content.

let AVAssetResourceLoadingRequestStreamingContentKeyRequestRequiresPersistentKey: String

Specifies whether the content key request requires a persistable key to be returned from the key vendor.

var dataRequest: AVAssetResourceLoadingDataRequest?

The range of requested resource data.