Condividi tramite


IMCNearbyServiceAdvertiserDelegate.DidReceiveInvitationFromPeer Metodo

Definizione

[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

Parametri

peerID
MCPeerID
context
NSData

Da aggiungere.

Questo parametro può essere null.

invitationHandler
MCNearbyServiceAdvertiserInvitationHandler

Continuazione che lo sviluppatore dell'app deve chiamare.

Attributi

Si applica a