An interface for adopting all of the protocols in the messages domain.
- iOS 10.0+
- watchOS 3.2+
INMessages protocol is a convenience protocol that adopts all of the protocols used to handle message-related intents. When your app adopts all of the protocols associated with messages, you can adopt this one protocol instead of adopting the
INSet protocols separately.
An object that adopts this protocol must be able to respond to the following intents:
INSend, a request to compose and send a message to one or more recipients.
INSearch, a request to search for specific messages based on a set of query parameters.
For Messages Intent
INSet, a request to modify a message, such as mark it as read.
Message Attribute Intent
Your handler object must be prepared to resolve any parameters associated with these intents and to confirm and handle the requests. When confirming and handling a request, you provide the response object that matches the specified intent.