|Type||Topic||Plugin||Version||macOS||Windows||Linux||Console & Web||iOS|
|class||AVFoundation||MBS AVFoundation Plugin||14.0||Yes||No||No||Yes, macOS only||No|
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.
This is an abstract class. You can't create an instance, but you can get one from various plugin functions.
- 4 properties
- method Constructor
- shared method available as boolean
This class has no sub classes.
Some properties using for this class:
- AVAssetResourceLoadingRequestMBS.contentInformationRequest as AVAssetResourceLoadingContentInformationRequestMBS
The items on this page are in the following plugins: MBS AVFoundation Plugin.
MBS Xojo blog