Enumeration

MCErrorCode

Error codes found in MCErrorDomain error domain NSError objects returned by methods in the Multipeer Connectivity framework.

Declaration

typedef enum MCErrorCode : NSInteger {
    ...
} MCErrorCode;

Topics

Constants

MCErrorUnknown

An unknown error occurred.

MCErrorNotConnected

Your app attempted to send data to a peer that is not connected.

MCErrorInvalidParameter

Your app passed an invalid value as a parameter.

MCErrorUnsupported

The operation is unsupported. For example, this error is returned if you call sendResourceAtURL:withName:toPeer:withCompletionHandler: with a URL that is neither a local file nor a web URL.

MCErrorTimedOut

The connection attempt timed out.

MCErrorCancelled

The operation was cancelled by the user.

MCErrorUnavailable

Multipeer connectivity is currently unavailable.