Platforms to show: All Mac Windows Linux Cross-Platform

Back to AVAssetResourceLoadingDataRequestMBS class.

AVAssetResourceLoadingDataRequestMBS.currentOffset as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property AVFoundation MBS AVFoundation Plugin 14.0 ✅ Yes ❌ No ❌ No ✅ Yes All
The position within the resource of the next byte. (read-only)

When incrementally loading data you should begin loading at this offset, returning the data by invoking the respondWithData: method. Bytes previous to this value have already been provided.

Available in OS X v10.9 and later.
(Read only property)

AVAssetResourceLoadingDataRequestMBS.Handle as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property AVFoundation MBS AVFoundation Plugin 14.0 ✅ Yes ❌ No ❌ No ✅ Yes All
The internal object reference.

(Read and Write property)

AVAssetResourceLoadingDataRequestMBS.requestedLength as Int64

Type Topic Plugin Version macOS Windows Linux iOS Targets
property AVFoundation MBS AVFoundation Plugin 14.0 ✅ Yes ❌ No ❌ No ✅ Yes All
The length, in bytes, of the data requested. (read-only)

If the content length of the resource is unknown, the sum of the requestedLength and requestedOffset properties may be greater than the actual content length. When this situation occurs, an application must attempt to provide as much of the requested data beginning at the requestedOffset property as the resource contains. The application must then invoke either the AVAssetResourceLoadingRequest instance's finishLoading method upon success, or the finishLoadingWithError: method if an error is encountered during the loading.
Available in OS X v10.9 and later.
(Read only property)

AVAssetResourceLoadingDataRequestMBS.requestedOffset as Int64

Type Topic Plugin Version macOS Windows Linux iOS Targets
property AVFoundation MBS AVFoundation Plugin 14.0 ✅ Yes ❌ No ❌ No ✅ Yes All
The position within the resource of the first byte requested. (read-only)

When all of the requested bytes that can be provided have been loaded—including the possible contentInformationRequest data in the AVAssetResourceLoadingRequest instance that contains the receiver—the delegate should respond by invoking finishLoading.

If the requestedOffset value is beyond the content length of the resource, the AVAssetResourceLoadingRequest instance is sent a finishLoading message without any prior invocations of respondWithData.
Available in OS X v10.9 and later.
(Read only property)

The items on this page are in the following plugins: MBS AVFoundation Plugin.


The biggest plugin in space...