One Logo Pool Ball
Intents · IOS API REFERENCE

INVoiceShortcutCenter

class · iOS 12.0+ · SDK 27.1

class INVoiceShortcutCenter

Members (4)

get · iOS 12.0+

shared

TypeScript
static get shared(): INVoiceShortcutCenter
Swift declaration
class var shared: INVoiceShortcutCenter { get }
method · iOS 12.0+

getAllVoiceShortcuts

TypeScript
getAllVoiceShortcuts(completionHandler: ((arg0: (Array<INVoiceShortcut>) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func allVoiceShortcuts() async throws -> [INVoiceShortcut]
method · iOS 12.0+

getVoiceShortcut

TypeScript
getVoiceShortcut(identifier: string, completionHandler: ((arg0: (INVoiceShortcut) | null, arg1: (NativeError) | null) => void)): void
Swift declaration
func getVoiceShortcut(with identifier: UUID) async throws -> INVoiceShortcut
method · iOS 12.0+

setShortcutSuggestions

TypeScript
setShortcutSuggestions(suggestions: Array<INShortcut>): void
Swift declaration
func setShortcutSuggestions(_ suggestions: [INShortcut])

Skipped declarations

1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

INVoiceShortcutCenter.init()

inherited init: clang: 'init' is unavailable

All Intents types →