One Logo Pool Ball
AppIntents · IOS API REFERENCE

IntentDialog

struct · iOS 16.0+ · SDK 27.1

struct IntentDialog

The text you want the system to display, or speak, when requesting a value, asking for disambiguation, or confirming an action.

Members (6)

init · iOS 16.0+

init

TypeScript
static initStringLiteral(value: string): IntentDialog
Swift declaration
init(stringLiteral value: String)

Creates an instance initialized to the given string value. - Parameter value: The value of the new instance.

init · iOS 16.0+

init

TypeScript
static initStringInterpolation(stringInterpolation: _Foundation_String_LocalizationValue_StringInterpolation): IntentDialog
Swift declaration
init(stringInterpolation: String.LocalizationValue.StringInterpolation)

Creates an instance from a string interpolation. Most `StringInterpolation` types will store information about the literals and interpolations appended to them in one or more properties. `init(stringInterpolation:)` should use these properties to initialize the instance. - Parameter stringInterpolation: An instance of `StringInterpolation` which has had each segment of the string literal appended to it.

init · iOS 17.2+

init

TypeScript
static initFullSupportingSystemImageName(full: _Foundation_LocalizedStringResource, supporting: _Foundation_LocalizedStringResource, systemImageName: string): IntentDialog
Swift declaration
init(full: LocalizedStringResource, supporting: LocalizedStringResource, systemImageName: String)

The text you want the system to display, or speak, when requesting a value, asking for disambiguation, or confirming an action. Parameters: - full: a standalone message that fully describes the output - supporting: a message that may be used in conjunction with visual output - systemImageName: an SF Symbol that may be be used to represent the result

init · iOS 16.0+

init

TypeScript
static initFullSupporting(full: _Foundation_LocalizedStringResource, supporting: _Foundation_LocalizedStringResource): IntentDialog
Swift declaration
init(full: LocalizedStringResource, supporting: LocalizedStringResource)

The text you want the system to display, or speak, when requesting a value, asking for disambiguation, or confirming an action. Parameters: - full: a standalone message that fully describes the output - supporting: a message that may be used in conjunction with visual output

init · iOS 17.2+

init

TypeScript
static initFullSystemImageName(full: _Foundation_LocalizedStringResource, systemImageName: string): IntentDialog
Swift declaration
init(full: LocalizedStringResource, systemImageName: String)

The text you want the system to display, or speak, when requesting a value, asking for disambiguation, or confirming an action. Parameters: - full: a standalone message that fully describes the output - systemImageName: an SF Symbol that may be be used to represent the result

init · iOS 16.0+

init

TypeScript
static init(string: _Foundation_LocalizedStringResource): IntentDialog
Swift declaration
init(_ string: LocalizedStringResource)

The text you want the system to display, or speak, when requesting a value, asking for disambiguation, or confirming an action. Parameters: - string: a standalone message that fully describes the output

Skipped declarations

No declarations were skipped in this snapshot.

All AppIntents types →