MCNearbyServiceAdvertiserInvitationHandler Delegate
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The delegate that serves as the invitation handler in calls to DidReceiveInvitationFromPeer(MCNearbyServiceAdvertiser, MCPeerID, NSData, MCNearbyServiceAdvertiserInvitationHandler).
public delegate void MCNearbyServiceAdvertiserInvitationHandler(bool accept, MCSession session);
type MCNearbyServiceAdvertiserInvitationHandler = delegate of bool * MCSession -> unit
Parameters
- accept
- Boolean
true
if the invitation should be accepted.
- session
- MCSession
The session to which the peer shouldbe connected.