Edit

Share via


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

Name Value Description
Unknown 0

The type of the error could not be determined.

NotConnected 1

Data was sent to a peer that is not connected.

InvalidParameter 2

The relevant operation was called with an invalid parameter.

Unsupported 3

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

TimedOut 4

Indicates a connection or data-transmission time-out.

Cancelled 5

The relevant operation was cancelled.

Unavailable 6

Indicates that Multipeer Connectivity is not available.

Applies to