The styles for the Add to Siri button.
SDK
- iOS 12.0+
Framework
- Intents
UI
Declaration
enum INUIAddVoiceShortcutButtonStyle : UInt
The styles for the Add to Siri button.
SDK
Framework
enum INUIAddVoiceShortcutButtonStyle : UInt
case black
A button with a black background.
case black Outline
A button with a black background, and a border outlining the button.
case white
A button with a white background.
case white Outline
A button with a white background, and a border outlining the button.
init(style: INUIAdd Voice Shortcut Button Style)
Creates an Add to Siri button with the specified style.