共用方式為


IMCSessionDelegate.DidFinishReceivingResource 方法

定義

[Foundation.Export("session:didFinishReceivingResourceWithName:fromPeer:atURL:withError:")]
[Foundation.Preserve(Conditional=true)]
public void DidFinishReceivingResource (MultipeerConnectivity.MCSession session, string resourceName, MultipeerConnectivity.MCPeerID fromPeer, Foundation.NSUrl localUrl, Foundation.NSError error);
abstract member DidFinishReceivingResource : MultipeerConnectivity.MCSession * string * MultipeerConnectivity.MCPeerID * Foundation.NSUrl * Foundation.NSError -> unit

參數

session
MCSession
resourceName
String
fromPeer
MCPeerID
localUrl
NSUrl

即將加入。

這個參數可以是 null

error
NSError

如果傳輸期間發生任何) ,就會 (錯誤。

這個參數可以是 null

屬性

適用於