共用方式為


WCSessionDelegate.DidFinishFileTransfer 方法

定義

檔案傳輸已順利完成,或發生錯誤。

[Foundation.Export("session:didFinishFileTransfer:error:")]
public virtual void DidFinishFileTransfer (WatchConnectivity.WCSession session, WatchConnectivity.WCSessionFileTransfer fileTransfer, Foundation.NSError error);
abstract member DidFinishFileTransfer : WatchConnectivity.WCSession * WatchConnectivity.WCSessionFileTransfer * Foundation.NSError -> unit
override this.DidFinishFileTransfer : WatchConnectivity.WCSession * WatchConnectivity.WCSessionFileTransfer * Foundation.NSError -> unit

參數

session
WCSession
fileTransfer
WCSessionFileTransfer
error
NSError
屬性

適用於