iOS Guides | Samples

MultipeerConnectivity.MCSessionState Enumeration

An enumeration whose values indicate the state of a MCSession. Used with MCSessionDelegate.DidChangeState.

Syntax

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Native]
public enum MCSessionState

Members

Member NameDescription
ConnectedIndicates that the MCSession is connected.
ConnectingIndicates that the MCSession is in the process of connecting.
NotConnectedIndicates that the MCSession is not connected.

Requirements

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

The members of MultipeerConnectivity.MCSessionState are listed below.

See Also: Enum

Public Fields

ConnectedMCSessionState. Indicates that the MCSession is connected.
ConnectingMCSessionState. Indicates that the MCSession is in the process of connecting.
NotConnectedMCSessionState. Indicates that the MCSession is not connected.