iOS Guides | Samples

MultipeerConnectivity.MCAdvertiserAssistantDelegate Class

A delegate object that provides events for the presentation or dismissal of an invitation by a MCAdvertiserAssistant.

See Also: MCAdvertiserAssistantDelegate

Syntax

[Foundation.Model]
[Foundation.Protocol]
[Foundation.Register("MCAdvertiserAssistantDelegate", false)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.Arch64, null)]
public class MCAdvertiserAssistantDelegate : NSObject, IMCAdvertiserAssistantDelegate, IDisposable

Related content

Requirements

Namespace: MultipeerConnectivity
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions: 0.0.0.0

The members of MultipeerConnectivity.MCAdvertiserAssistantDelegate are listed below.

See Also: NSObject

Public Constructors

Default constructor, initializes a new instance of this class.

Protected Constructors

Constructor to call on derived classes to skip initialization and merely allocate the object.
A constructor used when creating managed representations of unmanaged objects; Called by the runtime.

Public Methods

DidDismissInvitation(MCAdvertiserAssistant)
Indicates that the peer-connection invitation is no longer being displayed to the user.
WillPresentInvitation(MCAdvertiserAssistant)
Indicates that the peer-connection invitation is about to be presented.