Contents

isVoiceOnly

A Boolean value that indicates whether the system performs the app intent in a voice-only context.

Declaration

var isVoiceOnly: Bool { get }

Discussion

If isVoiceOnly is true, adjust the intent’s result to include a more speakable summary, and make sure a person can understand responses and dialog without visuals such as tables, graphics, or other user-interface elements.

Generally, return an IntentDialog from your intent. The system can choose the best information from the dialog to present for a person’s context. Consult isVoiceOnly when your app intent returns dynamic, free-form output, such as generated recommendations, summarized search results, or natural-language responses you generate on the fly.