Editar

Compartilhar via


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
MCSessionState
Attributes

Fields

Name Value Description
NotConnected 0

Indicates that the MCSession is not connected.

Connecting 1

Indicates that the MCSession is in the process of connecting.

Connected 2

Indicates that the MCSession is connected.

Applies to