Operator

!=(_:_:)

Returns a Boolean value indicating whether two values are not equal.

Declaration

static func != (lhs: WatchKitError, rhs: WatchKitError) -> Bool

Parameters

lhs

A value to compare.

rhs

Another value to compare.

Discussion

Inequality is the inverse of equality. For any values a and b, a != b implies that a == b is false.

This is the default implementation of the not-equal-to operator (!=) for any type that conforms to Equatable.

See Also

Error Codes

static var applicationDelegateWatchKitRequestReplyNotCalled: WatchKitError.Code

An unresponsive delegate error. WatchKit reports this error when you call the openParentApplication(_:reply:) method and the iOS app delegate that receives the message fails to return a reply.

static var downloadFailed: WatchKitError.Code

A download error. WatchKit reports this error when a media file could not be downloaded.

static var invalidArgument: WatchKitError.Code

An invalid argument error. WatchKit reports this error when you specify invalid settings for one of the system supplied interfaces.

static var mediaPlayerFailed: WatchKitError.Code

A media player error. WatchKit reports this error when it is unable to play a media file.

static var recordingFailed: WatchKitError.Code

An audio recording error. WatchKit reports this error when it is unable to record audio using the audio recording interface.

static var unknown: WatchKitError.Code

An unknown error. This error code is reported when the precise reason for failure could not be determined.

enum WatchKitError.Code

Error codes reported by WatchKit.