MCError Enum

Definition

An enumeration whose values specify various errors relating to multipeer connectivity.

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

Fields

Cancelled 5

The relevant operation was cancelled.

InvalidParameter 2

The relevant operation was called with an invalid parameter.

NotConnected 1

Data was sent to a peer that is not connected.

TimedOut 4

Indicates a connection or data-transmission time-out.

Unavailable 6

Indicates that Multipeer Connectivity is not available.

Unknown 0

The type of the error could not be determined.

Unsupported 3

The relevant operation is not supported (for instance, an attempt to send a non-local or non-Web-based resource).

Applies to