Constants that indicate the response state.


enum INSendMessageIntentResponseCode : Int


Response State

case unspecified

The response code isn’t specified.

case ready

You are ready to handle the intent.

case inProgress

You are in the process of sending the message but have not yet done so.

case success

You successfully handled the intent.

case failure

You are unable to send the message.

case failureRequiringAppLaunch

The user must launch your app before they can send the message.

case failureMessageServiceNotAvailable

You were unable to send the message because your message service is currently unavailable.

See Also

Getting the Response Code

var code: INSendMessageIntentResponseCode

The code indicating whether you successfully handled the intent.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software