Class

INSetMessageAttributeIntentResponse

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

Declaration

class 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 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 that indicate the response state.

Relationships

Inherits From

Conforms To

See Also

Set Message Attributes

protocol INSetMessageAttributeIntentHandling

An interface that handles modifying message attributes.

class INSetMessageAttributeIntent

A request to modify the attributes of a message.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software