The handler interface for modifying message attributes.
- iOS 10.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 they have been read or flagged.
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 be modified 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.