Xojo Conferences
MBSSep2018MunichDE
XDCMay2019MiamiUSA

Platforms to show: All Mac Windows Linux Cross-Platform

AVAssetResourceLoadingContentInformationRequestMBS class

Type Topic Plugin Version macOS Windows Linux Console & Web iOS
class AVFoundation MBS AVFoundation Plugin 14.0 Yes No No Yes, macOS only No
Function: The AVAssetResourceLoadingContentInformationRequest class represents a query for essential information about a resource referenced by an asset resource loading request.
Notes:
The event AVFoundationMBS.resourceLoaderShouldWaitForLoadingOfRequestedResource is invoked and accepts responsibility for loading the resource it must check whether the contentInformationRequest property of the AVAssetResourceLoadingRequest is not nil. Whenever the value is not nil, the request includes a query for the information that AVAssetResourceLoadingContentInformationRequest encapsulates. In response to such queries, the resource loading delegate should set the values of the content information request's properties appropriately before invoking the AVAssetResourceLoadingRequest method finishLoading.

When finishLoading is invoked, the values of the properties of its contentInformationRequest property will, in part, determine how the requested resource is processed. For example, if the requested resource's URL is the URL of an AVURLAsset and contentType is set by the resource loading delegate to a value that the underlying media system doesn't recognize as a supported media file type, operations on the AVURLAsset, such as playback, are likely to fail.

Feedback, Comments & Corrections

This class has no sub classes.

Some properties using for this class:


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


AVAssetResourceLoaderMBS   -   AVAssetResourceLoadingDataRequestMBS




Links
MBS Xojo Plugins