unsupported(forReason:)
Creates an object whose resolution indicates that your app can’t use the specified person as a message recipient.
Declaration
class func unsupported(forReason reason: INSendMessageRecipientUnsupportedReason) -> SelfParameters
- reason:
The reason why the recipient is not supported. For a list of possible values, see Insendmessagerecipientunsupportedreason.
Return Value
A new resolution result object.
Discussion
Use this method when a problem with the recipient’s account would prevent you from sending the message. When you return a resolution of this type, Siri prompts the user to provide a new recipient, which you must then resolve. The cycle of prompting the user and asking you to resolve the parameter continues until you resolve the parameter successfully.