AVAssetDownloadDelegate.DidSendBodyData 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
在接收本文資料時呼叫以傳達進度的方法。
[Foundation.Export("URLSession:task:didSendBodyData:totalBytesSent:totalBytesExpectedToSend:")]
[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 DidSendBodyData (Foundation.NSUrlSession session, Foundation.NSUrlSessionTask task, long bytesSent, long totalBytesSent, long totalBytesExpectedToSend);
abstract member DidSendBodyData : Foundation.NSUrlSession * Foundation.NSUrlSessionTask * int64 * int64 * int64 -> unit
override this.DidSendBodyData : Foundation.NSUrlSession * Foundation.NSUrlSessionTask * int64 * int64 * int64 -> unit
參數
- session
- NSUrlSession
- task
- NSUrlSessionTask
- bytesSent
- Int64
- totalBytesSent
- Int64
- totalBytesExpectedToSend
- Int64
- 屬性