INSearchForMessagesIntentResponseCode Enum

Definition

Enumerates results codes for the INSearchForMessagesIntent.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 12, 0, ObjCRuntime.PlatformArchitecture.Arch64, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 3, 2, ObjCRuntime.PlatformArchitecture.All, null)]
public enum INSearchForMessagesIntentResponseCode
type INSearchForMessagesIntentResponseCode = 
Inheritance
INSearchForMessagesIntentResponseCode
Attributes

Fields

Name Value Description
Unspecified 0

Indicates that no explicit response code was provided.

Ready 1

Developers should return this during the confirmation phase, indicating the extension's ability to handle the intent.

InProgress 2

Developers should use this code to indicate they have not finished processing.

Success 3

Developers should use this response code to indicate that the extension successfully processed the intent.

Failure 4

Developers should use this code to indicate that they failed to process the intent.

FailureRequiringAppLaunch 5

Developers should use this code to indicate that they failed to process the intent and further processing must be done in the app.

FailureMessageServiceNotAvailable 6

Developers should use this code to indicate that they could not search for the message because the service is not available.

FailureMessageTooManyResults 7

Developers should use this code to indicate that they failed to process the intent because too many results were returned.

Applies to