- advertiser
- Documentation for this section has not yet been entered.
- peerID
- Documentation for this section has not yet been entered.
- context
- Documentation for this section has not yet been entered.
- invitationHandler
- Continuation that the app developer must call.
When overriding this method, application developers must invoke the invitationHandler, passing in an appropriate MultipeerConnectivity.MCSession and a boolean indicating whether the invitation should be accepted or not.
C# Example
public override void DidReceiveInvitationFromPeer(MCNearbyServiceAdvertiser advertiser, MCPeerID peerID, NSData context, MCNearbyServiceAdvertiserInvitationHandler invitationHandler) { parent.statusLbl.Text = "Received Invite"; invitationHandler(true, parent.Session); }