Platforms to show: All Mac Windows Linux Cross-Platform
AVAssetResourceLoaderMBS class
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | AVFoundation | MBS AVFoundation Plugin | 14.0 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
An AVAssetResourceLoader object mediates resource requests from an AVURLAsset object with a delegate object that you provide. When a request arrives, the resource loader asks your delegate if it is able to handle the request and reports the results back to the asset.
You do not create resource loader objects yourself. Instead, you retrieve a resource loader from the resourceLoader property of an AVURLAsset object and use it to assign your custom delegate object.
The delegate you associate with this object must adopt the AVAssetResourceLoaderDelegate protocol. For more information, see AVAssetResourceLoaderDelegate Protocol Reference.
This is an abstract class. You can't create an instance, but you can get one from various plugin functions.
- property Handle as Integer
- method Constructor Private
- shared method available as boolean
This class has no sub classes.
Some properties using for this class:
- AVURLAssetMBS.resourceLoader as AVAssetResourceLoaderMBS
Some events using this class:
- AVFoundationMBS.resourceLoaderDidCancelLoadingRequest(resourceLoader as AVAssetResourceLoaderMBS, loadingRequest as AVAssetResourceLoadingRequestMBS)
- AVFoundationMBS.resourceLoaderShouldWaitForLoadingOfRequestedResource(resourceLoader as AVAssetResourceLoaderMBS, loadingRequest as AVAssetResourceLoadingRequestMBS) as boolean
The items on this page are in the following plugins: MBS AVFoundation Plugin.
AVAssetReaderVideoCompositionOutputMBS - AVAssetResourceLoadingContentInformationRequestMBS