MCError 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
MCErrorMCError
Attributes

Fields

Cancelled Cancelled 5

The relevant operation was cancelled.

InvalidParameter InvalidParameter 2

The relevant operation was called with an invalid parameter.

NotConnected NotConnected 1

Data was sent to a peer that is not connected.

TimedOut TimedOut 4

Indicates a connection or data-transmission time-out.

Unavailable Unavailable 6

Indicates that Multipeer Connectivity is not available.

Unknown Unknown 0

The type of the error could not be determined.

Unsupported Unsupported 3

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

Applies to