MCNearbyServiceAdvertiserInvitationHandler 委托

定义

public delegate void MCNearbyServiceAdvertiserInvitationHandler(bool accept, MCSession session);
type MCNearbyServiceAdvertiserInvitationHandler = delegate of bool * MCSession -> unit

参数

accept
Boolean

true 如果应接受邀请,则为 。

session
MCSession

对等方应连接到的会话。

适用于