共用方式為


NSUrlSessionDownloadDelegate.DidWriteData 方法

定義

[Foundation.Export("URLSession:downloadTask:didWriteData:totalBytesWritten:totalBytesExpectedToWrite:")]
public virtual void DidWriteData (Foundation.NSUrlSession session, Foundation.NSUrlSessionDownloadTask downloadTask, long bytesWritten, long totalBytesWritten, long totalBytesExpectedToWrite);
abstract member DidWriteData : Foundation.NSUrlSession * Foundation.NSUrlSessionDownloadTask * int64 * int64 * int64 -> unit
override this.DidWriteData : Foundation.NSUrlSession * Foundation.NSUrlSessionDownloadTask * int64 * int64 * int64 -> unit

參數

session
NSUrlSession
bytesWritten
Int64
totalBytesWritten
Int64
totalBytesExpectedToWrite
Int64
屬性

適用於