iOS Guides | Samples

MultipeerConnectivity.MCErrorExtensions Class

Extension methods for the MultipeerConnectivity.MCError enumeration.

See Also: MCErrorExtensions

Syntax

[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public static class MCErrorExtensions

Remarks

The extension method for the MultipeerConnectivity.MCError enumeration can be used to fetch the error domain associated with these error codes.

Requirements

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

The members of MultipeerConnectivity.MCErrorExtensions are listed below.

See Also: Object

Public Methods

static
GetDomain(this MCError) : NSString
Returns the error domain associated with the MultipeerConnectivity.MCError value