One Logo Pool Ball
AppIntents · IOS API REFERENCE

IntentPerson.Handle

struct · iOS 16.0+ · SDK 27.1

struct Handle

A type that describes a single way to contact a person.

Members (8)

init · iOS 16.0+

init

TypeScript
static initPhoneNumberLabel(phoneNumberString: string, label?: IntentPerson_Handle_Label): IntentPerson_Handle
Swift declaration
init(phoneNumber phoneNumberString: String, label: IntentPerson.Handle.Label = .other)
init · iOS 16.0+

init

TypeScript
static initEmailAddressLabel(emailAddressString: string, label?: IntentPerson_Handle_Label): IntentPerson_Handle
Swift declaration
init(emailAddress emailAddressString: String, label: IntentPerson.Handle.Label = .other)
init · iOS 16.0+

init

TypeScript
static initApplicationDefinedLabel(stringValue: string, labelString?: (string) | null): IntentPerson_Handle
Swift declaration
init(applicationDefined stringValue: String, label labelString: String? = nil)
get · iOS 16.0+

label

TypeScript
get label(): IntentPerson_Handle_Label
Swift declaration
var label: IntentPerson.Handle.Label
set · iOS 16.0+

label

TypeScript
set label(value: IntentPerson_Handle_Label)
Swift declaration
var label: IntentPerson.Handle.Label
get · iOS 16.0+

value

TypeScript
get value(): IntentPerson_Handle_Value
Swift declaration
var value: IntentPerson.Handle.Value

The string value for this `Handle`, such as the specific phone number or email address

set · iOS 16.0+

value

TypeScript
set value(value: IntentPerson_Handle_Value)
Swift declaration
var value: IntentPerson.Handle.Value

The string value for this `Handle`, such as the specific phone number or email address

init · iOS 16.0+

init

TypeScript
static initLabel(value: IntentPerson_Handle_Value, label?: IntentPerson_Handle_Label): IntentPerson_Handle
Swift declaration
init(_ value: IntentPerson.Handle.Value, label: IntentPerson.Handle.Label = .other)

Skipped declarations

No declarations were skipped in this snapshot.

All AppIntents types →