Instance Method

fail()

Reports the failed execution of the action.

Declaration

func fail()

Discussion

Calling this method sets the isComplete property value to true. Calling this method more than once or calling it after calling the fulfill() method has no effect.

You should only call this method from the implementation of a CXProviderDelegate method.

See Also

Completing Actions

func fulfill()

Reports the successful execution of the action.