共用方式為


AVAssetDownloadDelegate.NeedNewBodyStream 方法

定義

呼叫以取得新要求本文資料流程的方法。

[Foundation.Export("URLSession:task:needNewBodyStream:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 9, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void NeedNewBodyStream (Foundation.NSUrlSession session, Foundation.NSUrlSessionTask task, Action<Foundation.NSInputStream> completionHandler);
abstract member NeedNewBodyStream : Foundation.NSUrlSession * Foundation.NSUrlSessionTask * Action<Foundation.NSInputStream> -> unit
override this.NeedNewBodyStream : Foundation.NSUrlSession * Foundation.NSUrlSessionTask * Action<Foundation.NSInputStream> -> unit

參數

session
NSUrlSession
completionHandler
Action<NSInputStream>
屬性

適用於