iOS Guides | Samples

MultipeerConnectivity.MCError Enumeration

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

Syntax

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

Members

Member NameDescription
CancelledThe relevant operation was cancelled.
InvalidParameterThe relevant operation was called with an invalid parameter.
NotConnectedData was sent to a peer that is not connected.
TimedOutIndicates a connection or data-transmission time-out.
UnavailableIndicates that Multipeer Connectivity is not available.
UnknownThe type of the error could not be determined.
UnsupportedThe relevant operation is not supported (for instance, an attempt to send a non-local or non-Web-based resource).

Requirements

Namespace: MultipeerConnectivity
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions: 0.0.0.0

The members of MultipeerConnectivity.MCError are listed below.

See Also: Enum

Public Fields

CancelledMCError. The relevant operation was cancelled.
InvalidParameterMCError. The relevant operation was called with an invalid parameter.
NotConnectedMCError. Data was sent to a peer that is not connected.
TimedOutMCError. Indicates a connection or data-transmission time-out.
UnavailableMCError. Indicates that Multipeer Connectivity is not available.
UnknownMCError. The type of the error could not be determined.
UnsupportedMCError. The relevant operation is not supported (for instance, an attempt to send a non-local or non-Web-based resource).