Platforms to show: All Mac Windows Linux Cross-Platform

Back to AVAssetResourceLoadingRequestMBS class.

AVAssetResourceLoadingRequestMBS.Constructor   Private

Type Topic Plugin Version macOS Windows Linux iOS Targets
method AVFoundation MBS AVFoundation Plugin 14.0 ✅ Yes ❌ No ❌ No ✅ Yes All
The private constructor.

AVAssetResourceLoadingRequestMBS.finishLoading

Type Topic Plugin Version macOS Windows Linux iOS Targets
method AVFoundation MBS AVFoundation Plugin 14.0 ✅ Yes ❌ No ❌ No ✅ Yes All
Causes the receiver to treat the processing of the request as complete.

If a dataRequest is present and the resource does not contain the full extent of the data that has been requested according to the values of the requestedOffset and requestedLength properties of the request, invoke finishLoading after providing as much of the requested data as the resource contains.

Available in OS X v10.9 and later.

See also:

AVAssetResourceLoadingRequestMBS.finishLoading(error as NSErrorMBS)

Type Topic Plugin Version macOS Windows Linux iOS Targets
method AVFoundation MBS AVFoundation Plugin 14.0 ✅ Yes ❌ No ❌ No ✅ Yes All
Causes the receiver to handle the failure to load a resource for which a resource loader's delegate took responsibility.

error: An error object indicating the reason for the failure.
When a resource loader's delegate takes responsibility for loading a resource, it calls this method when a failure occurred when loading the resource. This method marks the loading request as finished and notifies the resource loader object that the resource could not be loaded.
Available in OS X v10.9 and later.

See also:

AVAssetResourceLoadingRequestMBS.streamingContentKeyRequestDataForApp(appIdentifier as Memoryblock, contentIdentifier as Memoryblock, options as Dictionary, byref error as NSErrorMBS) as Memoryblock

Type Topic Plugin Version macOS Windows Linux iOS Targets
method AVFoundation MBS AVFoundation Plugin 14.0 ✅ Yes ❌ No ❌ No ✅ Yes All
Obtains key request data for a specific combination of application and content.

appIdentifier: An opaque content identifier for the application. The value of this identifier depends on the particular system used to provide the decryption key.
contentIdentifier: An opaque identifier for the content. The value of this identifier depends on the particular system used to provide the decryption key.
options: Additional information necessary to obtain the key, or nil if no additional information is required.
Error: If an error occurs while obtaining the streaming content key, the pointer is set to an appropriate error object on output.

Returns the key request data that must be transmitted to the key vendor to obtain the content key.
Available in OS X v10.9 and later.

The items on this page are in the following plugins: MBS AVFoundation Plugin.


The biggest plugin in space...