AVAssetDownloadDelegate.DidLoadTimeRange 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
DidLoadTimeRange(NSUrlSession, AVAggregateAssetDownloadTask, CMTimeRange, NSValue[], CMTimeRange, AVMediaSelection)
[Foundation.Export("URLSession:aggregateAssetDownloadTask:didLoadTimeRange:totalTimeRangesLoaded:timeRangeExpectedToLoad:forMediaSelection:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void DidLoadTimeRange (Foundation.NSUrlSession session, AVFoundation.AVAggregateAssetDownloadTask aggregateAssetDownloadTask, CoreMedia.CMTimeRange timeRange, Foundation.NSValue[] loadedTimeRanges, CoreMedia.CMTimeRange timeRangeExpectedToLoad, AVFoundation.AVMediaSelection mediaSelection);
abstract member DidLoadTimeRange : Foundation.NSUrlSession * AVFoundation.AVAggregateAssetDownloadTask * CoreMedia.CMTimeRange * Foundation.NSValue[] * CoreMedia.CMTimeRange * AVFoundation.AVMediaSelection -> unit
override this.DidLoadTimeRange : Foundation.NSUrlSession * AVFoundation.AVAggregateAssetDownloadTask * CoreMedia.CMTimeRange * Foundation.NSValue[] * CoreMedia.CMTimeRange * AVFoundation.AVMediaSelection -> unit
参数
- session
- NSUrlSession
- aggregateAssetDownloadTask
- AVAggregateAssetDownloadTask
- timeRange
- CMTimeRange
- loadedTimeRanges
- NSValue[]
- timeRangeExpectedToLoad
- CMTimeRange
- mediaSelection
- AVMediaSelection
- 属性
适用于
DidLoadTimeRange(NSUrlSession, AVAssetDownloadTask, CMTimeRange, NSValue[], CMTimeRange)
调用以传达下载进度更新的方法。
[Foundation.Export("URLSession:assetDownloadTask:didLoadTimeRange:totalTimeRangesLoaded:timeRangeExpectedToLoad:")]
public virtual void DidLoadTimeRange (Foundation.NSUrlSession session, AVFoundation.AVAssetDownloadTask assetDownloadTask, CoreMedia.CMTimeRange timeRange, Foundation.NSValue[] loadedTimeRanges, CoreMedia.CMTimeRange timeRangeExpectedToLoad);
abstract member DidLoadTimeRange : Foundation.NSUrlSession * AVFoundation.AVAssetDownloadTask * CoreMedia.CMTimeRange * Foundation.NSValue[] * CoreMedia.CMTimeRange -> unit
override this.DidLoadTimeRange : Foundation.NSUrlSession * AVFoundation.AVAssetDownloadTask * CoreMedia.CMTimeRange * Foundation.NSValue[] * CoreMedia.CMTimeRange -> unit
参数
- session
- NSUrlSession
- assetDownloadTask
- AVAssetDownloadTask
- timeRange
- CMTimeRange
- loadedTimeRanges
- NSValue[]
- timeRangeExpectedToLoad
- CMTimeRange
- 属性