AVAssetDownloadDelegate.DidLoadTimeRange 方法

定义

重载

DidLoadTimeRange(NSUrlSession, AVAggregateAssetDownloadTask, CMTimeRange, NSValue[], CMTimeRange, AVMediaSelection)
DidLoadTimeRange(NSUrlSession, AVAssetDownloadTask, CMTimeRange, NSValue[], CMTimeRange)

调用以传达下载进度更新的方法。

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
属性

适用于