次の方法で共有


IMCNearbyServiceAdvertiserDelegate.DidReceiveInvitationFromPeer メソッド

定義

[Foundation.Export("advertiser:didReceiveInvitationFromPeer:withContext:invitationHandler:")]
[Foundation.Preserve(Conditional=true)]
public void DidReceiveInvitationFromPeer (MultipeerConnectivity.MCNearbyServiceAdvertiser advertiser, MultipeerConnectivity.MCPeerID peerID, Foundation.NSData context, MultipeerConnectivity.MCNearbyServiceAdvertiserInvitationHandler invitationHandler);
abstract member DidReceiveInvitationFromPeer : MultipeerConnectivity.MCNearbyServiceAdvertiser * MultipeerConnectivity.MCPeerID * Foundation.NSData * MultipeerConnectivity.MCNearbyServiceAdvertiserInvitationHandler -> unit

パラメーター

peerID
MCPeerID
context
NSData

追加する。

このパラメーターは、null に設定できます。

invitationHandler
MCNearbyServiceAdvertiserInvitationHandler

アプリ開発者が呼び出す必要がある継続。

属性

適用対象