|Type||Topic||Plugin||Version||macOS||Windows||Linux||Console & Web||iOS|
|class||AVFoundation||MBS AVFoundation Plugin||14.0||Yes||No||No||Yes, macOS only||No|
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.
This class has no sub classes.
Some properties using for this class:
- AVURLAssetMBS.resourceLoader as AVAssetResourceLoaderMBS
Some events for 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.
MBS FileMaker blog