An interface that handles modifying message attributes.
- iOS 10.0+
- Mac Catalyst 13.0+
Use the methods of the
INSet protocol to resolve, confirm, and handle requests to modify attributes of a user’s messages. Adopt this protocol in an object of your Intents extension that is capable of updating the state of messages, such as whether a user has read or flagged the message.
Siri delivers an
INSet object to your handler when the user asks to modify one or more messages. The provided intent object contains the identifier strings for the messages to modify and information about which attributes to set. Use the methods of this protocol to resolve whether you can modify the messages in the intended way and to make the modifications.