Intents · IOS API REFERENCE
INPerson
class · iOS 10.0+ · SDK 27.1
class INPerson
Members (22)
init · iOS 10.0+ · Deprecated in iOS 10.0init
TypeScriptstatic initHandleDisplayNameContactIdentifier(handle: string, displayName?: (string) | null, contactIdentifier?: (string) | null): INPerson
Swift declarationconvenience init(handle: String, displayName: String?, contactIdentifier: String?)
init · iOS 10.0+ · Deprecated in iOS 10.0init
TypeScriptstatic initHandleNameComponentsContactIdentifier(handle: string, nameComponents: _Foundation_PersonNameComponents, contactIdentifier?: (string) | null): INPerson
Swift declarationconvenience init(handle: String, nameComponents: PersonNameComponents, contactIdentifier: String?)
init · iOS 10.0+ · Deprecated in iOS 10.0init
TypeScriptstatic initHandleNameComponentsDisplayNameImageContactIdentifier(handle: string, nameComponents?: (_Foundation_PersonNameComponents) | null, displayName?: (string) | null, image?: (INImage) | null, contactIdentifier?: (string) | null): INPerson
Swift declarationconvenience init(handle: String, nameComponents: PersonNameComponents?, displayName: String?, image: INImage?, contactIdentifier: String?)
init · iOS 10.0+init
TypeScriptstatic initPersonHandleNameComponentsDisplayNameImageContactIdentifierCustomIdentifier(personHandle: INPersonHandle, nameComponents?: (_Foundation_PersonNameComponents) | null, displayName?: (string) | null, image?: (INImage) | null, contactIdentifier?: (string) | null, customIdentifier?: (string) | null): INPerson
Swift declarationconvenience init(personHandle: INPersonHandle, nameComponents: PersonNameComponents?, displayName: String?, image: INImage?, contactIdentifier: String?, customIdentifier: String?)
initinit
TypeScriptstatic initPersonHandleNameComponentsDisplayNameImageContactIdentifierCustomIdentifierAliasesSuggestionType(personHandle: INPersonHandle, nameComponents: (_Foundation_PersonNameComponents) | null, displayName: (string) | null, image: (INImage) | null, contactIdentifier: (string) | null, customIdentifier: (string) | null, aliases: (Array<INPersonHandle>) | null, suggestionType: INPersonSuggestionType): INPerson
Swift declarationconvenience init(personHandle: INPersonHandle, nameComponents: PersonNameComponents?, displayName: String?, image: INImage?, contactIdentifier: String?, customIdentifier: String?, aliases: [INPersonHandle]?, suggestionType: INPersonSuggestionType)
init · iOS 15.0+init
TypeScriptstatic initPersonHandleNameComponentsDisplayNameImageContactIdentifierCustomIdentifierIsContactSuggestionSuggestionType(personHandle: INPersonHandle, nameComponents: (_Foundation_PersonNameComponents) | null, displayName: (string) | null, image: (INImage) | null, contactIdentifier: (string) | null, customIdentifier: (string) | null, isContactSuggestion: boolean, suggestionType: INPersonSuggestionType): INPerson
Swift declarationconvenience init(personHandle: INPersonHandle, nameComponents: PersonNameComponents?, displayName: String?, image: INImage?, contactIdentifier: String?, customIdentifier: String?, isContactSuggestion: Bool, suggestionType: INPersonSuggestionType)
init · iOS 12.0+init
TypeScriptstatic initPersonHandleNameComponentsDisplayNameImageContactIdentifierCustomIdentifierIsMe(personHandle: INPersonHandle, nameComponents: (_Foundation_PersonNameComponents) | null, displayName: (string) | null, image: (INImage) | null, contactIdentifier: (string) | null, customIdentifier: (string) | null, isMe: boolean): INPerson
Swift declarationinit(personHandle: INPersonHandle, nameComponents: PersonNameComponents?, displayName: String?, image: INImage?, contactIdentifier: String?, customIdentifier: String?, isMe: Bool)
init · iOS 15.0+init
TypeScriptstatic initPersonHandleNameComponentsDisplayNameImageContactIdentifierCustomIdentifierIsMeSuggestionType(personHandle: INPersonHandle, nameComponents: (_Foundation_PersonNameComponents) | null, displayName: (string) | null, image: (INImage) | null, contactIdentifier: (string) | null, customIdentifier: (string) | null, isMe: boolean, suggestionType: INPersonSuggestionType): INPerson
Swift declarationconvenience init(personHandle: INPersonHandle, nameComponents: PersonNameComponents?, displayName: String?, image: INImage?, contactIdentifier: String?, customIdentifier: String?, isMe: Bool, suggestionType: INPersonSuggestionType)
init · iOS 14.0+init
TypeScriptstatic initPersonHandleNameComponentsDisplayNameImageContactIdentifierCustomIdentifierRelationship(personHandle: INPersonHandle, nameComponents?: (_Foundation_PersonNameComponents) | null, displayName?: (string) | null, image?: (INImage) | null, contactIdentifier?: (string) | null, customIdentifier?: (string) | null, relationship?: (INPersonRelationship) | null): INPerson
Swift declarationconvenience init(personHandle: INPersonHandle, nameComponents: PersonNameComponents?, displayName: String?, image: INImage?, contactIdentifier: String?, customIdentifier: String?, relationship: INPersonRelationship?)
getaliases
TypeScriptget aliases(): (Array<INPersonHandle>) | null
Swift declarationvar aliases: [INPersonHandle]? { get }
get · iOS 10.0+contactIdentifier
TypeScriptget contactIdentifier(): (string) | null
Swift declarationvar contactIdentifier: String? { get }
get · iOS 15.0+isContactSuggestion
TypeScriptget isContactSuggestion(): boolean
Swift declarationvar isContactSuggestion: Bool { get }
get · iOS 10.0+customIdentifier
TypeScriptget customIdentifier(): (string) | null
Swift declarationvar customIdentifier: String? { get }
get · iOS 10.0+displayName
TypeScriptget displayName(): string
Swift declarationvar displayName: String { get }
get · iOS 10.0+ · Deprecated in iOS 10.0handle
TypeScriptget handle(): (string) | null
Swift declarationvar handle: String? { get }
get · iOS 10.0+image
TypeScriptget image(): (INImage) | null
Swift declaration@NSCopying var image: INImage? { get }
get · iOS 11.0+isMe
TypeScriptget isMe(): boolean
Swift declarationvar isMe: Bool { get }
get · iOS 10.0+nameComponents
TypeScriptget nameComponents(): (_Foundation_PersonNameComponents) | null
Swift declarationvar nameComponents: PersonNameComponents? { get }
get · iOS 10.0+personHandle
TypeScriptget personHandle(): (INPersonHandle) | null
Swift declaration@NSCopying var personHandle: INPersonHandle? { get }
get · iOS 10.2+relationship
TypeScriptget relationship(): (INPersonRelationship) | null
Swift declarationvar relationship: INPersonRelationship? { get }
get · iOS 10.3+siriMatches
TypeScriptget siriMatches(): (Array<INPerson>) | null
Swift declarationvar siriMatches: [INPerson]? { get }
getsuggestionType
TypeScriptget suggestionType(): INPersonSuggestionType
Swift declarationvar suggestionType: INPersonSuggestionType { get }
Skipped declarations
1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
INPerson.init()
inherited init: cannot prove legal (class declares 9 custom initializers)
All Intents types →