MCSessionState Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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. |