Platforms to show: All Mac Windows Linux Cross-Platform
AVAssetResourceLoadingContentInformationRequestMBS class
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | AVFoundation | MBS AVFoundation Plugin | 14.0 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
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
- property ByteRangeAccessSupported as Boolean
- property contentLength as Int64
- property contentType as String
- property Handle as Integer
- method Constructor Private
- 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.
AVAssetResourceLoaderMBS - AVAssetResourceLoadingDataRequestMBS