Поделиться через


IMCNearbyServiceAdvertiserDelegate.DidReceiveInvitationFromPeer Метод

Определение

[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

Параметры

peerID
MCPeerID
context
NSData

Будет добавлено.

Этот параметр может иметь значение null.

invitationHandler
MCNearbyServiceAdvertiserInvitationHandler

Продолжение, которое должен вызвать разработчик приложения.

Атрибуты

Применяется к