Enumeration

INSearchForMessagesIntentResponseCode

Constants that indicate the response state.

Declaration

enum INSearchForMessagesIntentResponseCode : Int

Topics

Response State

case unspecified

The response code is unknown.

case ready

A response code indicating app readiness.

case inProgress

You are performing the search but do not yet have the results.

case success

You successfully handled the intent.

case failure

You are unable to perform the search.

case failureRequiringAppLaunch

The user must launch your app to search their messages.

case failureMessageServiceNotAvailable

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

case failureMessageTooManyResults

Too many messages matched the specified search criteria.

See Also

Getting the Response Code

var code: INSearchForMessagesIntentResponseCode

The code indicating whether you successfully handled the intent.