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.