Class

INSetMessageAttributeIntentResponse

Your app’s response to a set message attribute intent.

Declaration

@interface INSetMessageAttributeIntentResponse : INIntentResponse

Overview

An INSetMessageAttributeIntentResponse object contains the status of modifying the specified messages. You create instances of this class when confirming or handling a set message attribute intent.

You create an INSetMessageAttributeIntentResponse object in the confirmSetMessageAttribute:completion: and handleSetMessageAttribute:completion: methods of your set message attribute handler object. For more information about implementing your handler object, see INSetMessageAttributeIntentHandling.

Topics

Initializing the Response Object

- initWithCode:userActivity:

Initializes the response object with the specified code and user activity object.

Getting the Response Code

code

The code indicating whether you successfully handled the intent.

INSetMessageAttributeIntentResponseCode

Constants that indicate the response state.

Relationships

Inherits From

See Also

Set Message Attributes

INSetMessageAttributeIntentHandling

An interface that handles modifying message attributes.

INSetMessageAttributeIntent

A request to modify the attributes of a message.