Freigeben über


IMCNearbyServiceAdvertiserDelegate.DidReceiveInvitationFromPeer Methode

Definition

[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

Parameter

peerID
MCPeerID
context
NSData

Muss hinzugefügt werden.

Dieser Parameter kann null sein.

invitationHandler
MCNearbyServiceAdvertiserInvitationHandler

Fortsetzung, die der App-Entwickler aufrufen muss.

Attribute

Gilt für: