Platforms to show: All Mac Windows Linux Cross-Platform
AVAssetResourceLoadingRequestMBS class
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | AVFoundation | MBS AVFoundation Plugin | 14.0 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
When an AVURLAsset object needs help loading a resource, it asks its AVAssetResourceLoader object to assist. The resource loader encapsulates the request information by creating an instance of this object, which it then hands to its delegate object for processing. The delegate uses the information in this object to perform the request and report on the success or failure of the operation.
Available on Mac OS X 10.9 and later.
This is an abstract class. You can't create an instance, but you can get one from various plugin functions.
- 8 properties
- property contentInformationRequest as AVAssetResourceLoadingContentInformationRequestMBS
- property dataRequest as AVAssetResourceLoadingDataRequestMBS
- property Handle as Integer
- property isCancelled as Boolean
- property isFinished as Boolean
- property redirect as Variant
- property request as Variant
- property response as Variant
- 4 methods
- method Constructor Private
- method finishLoading
- method finishLoading(error as NSErrorMBS)
- method streamingContentKeyRequestDataForApp(appIdentifier as Memoryblock, contentIdentifier as Memoryblock, options as Dictionary, byref error as NSErrorMBS) as Memoryblock
- shared method available as boolean
This class has no sub classes.
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.
AVAssetResourceLoadingDataRequestMBS - AVAssetTrackGroupMBS