MCSessionState MCSessionState Enum

Definition

An enumeration whose values indicate the state of a MCSession. Used with DidChangeState(MCSession, MCPeerID, MCSessionState).

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public enum MCSessionState
type MCSessionState = 
Inheritance
MCSessionStateMCSessionState
Attributes

Fields

Connected Connected 2

Indicates that the MCSession is connected.

Connecting Connecting 1

Indicates that the MCSession is in the process of connecting.

NotConnected NotConnected 0

Indicates that the MCSession is not connected.

Applies to