Class

INSetMessageAttributeIntentResponse

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

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 confirm(intent:completion:) and handle(intent:completion:) methods of your set message attribute handler object. For more information about implementing your handler object, see INSetMessageAttributeIntentHandling.

Topics

Initializing the Response Object

init(code: INSetMessageAttributeIntentResponseCode, userActivity: NSUserActivity?)

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

Getting the Response Code

var code: INSetMessageAttributeIntentResponseCode

The code indicating whether you successfully handled the intent.

enum INSetMessageAttributeIntentResponseCode

Constants indicating the state of the response.

Relationships

Inherits From

Conforms To

See Also

Set Message Attributes

protocol INSetMessageAttributeIntentHandling

The handler interface for modifying message attributes.

class INSetMessageAttributeIntent

A request to modify the attributes of a message.