An interface for adopting all of the protocols in the messages domain.
- iOS 10.0–13.0Deprecated
- Mac Catalyst 13.0–13.0Deprecated
- watchOS 3.2–6.0Deprecated
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
You must prepare your handler object 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.