iOS Guides | Samples

MultipeerConnectivity.MCBrowserViewControllerDelegate Class

A delegate object that provides events relating to the presentation of discovered peers and the application user's selection or cancellation of them.

See Also: MCBrowserViewControllerDelegate

Syntax

[Foundation.Model]
[Foundation.Protocol]
[Foundation.Register("MCBrowserViewControllerDelegate", 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 abstract class MCBrowserViewControllerDelegate : NSObject, IMCBrowserViewControllerDelegate, IDisposable

Related content

Requirements

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

The members of MultipeerConnectivity.MCBrowserViewControllerDelegate are listed below.

See Also: NSObject

Protected Constructors

Default constructor, initializes a new instance of this class.
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

abstract
DidFinish(MCBrowserViewController)
Indicates that the MCBrowserViewController was dismissed with peers connected.
ShouldPresentNearbyPeer(MCBrowserViewController, MCPeerID, NSDictionary) : Boolean
Indicates a new peer has been discovered. Can be used to avoid showing the invitation UI.
abstract
WasCancelled(MCBrowserViewController)
Indicates that the browserViewController was dismissed when the user cancelled the presentation.