Partager via


IMCNearbyServiceAdvertiserDelegate.DidReceiveInvitationFromPeer Méthode

Définition

[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

Paramètres

peerID
MCPeerID
context
NSData

À ajouter.

Ce paramètre peut être null.

invitationHandler
MCNearbyServiceAdvertiserInvitationHandler

Continuation que le développeur d’application doit appeler.

Attributs

S’applique à