Edit

Share via


IMCNearbyServiceAdvertiserDelegate.DidReceiveInvitationFromPeer Method

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

Parameters

peerID
MCPeerID
context
NSData

To be added.

This parameter can be null.

invitationHandler
MCNearbyServiceAdvertiserInvitationHandler

Continuation that the app developer must call.

Attributes

Applies to