One Logo Pool Ball
Intents · IOS API REFERENCE

INPerson

class · iOS 10.0+ · SDK 27.1

class INPerson

Members (22)

init · iOS 10.0+ · Deprecated in iOS 10.0

init

TypeScript
static initHandleDisplayNameContactIdentifier(handle: string, displayName?: (string) | null, contactIdentifier?: (string) | null): INPerson
Swift declaration
convenience init(handle: String, displayName: String?, contactIdentifier: String?)
init · iOS 10.0+ · Deprecated in iOS 10.0

init

TypeScript
static initHandleNameComponentsContactIdentifier(handle: string, nameComponents: _Foundation_PersonNameComponents, contactIdentifier?: (string) | null): INPerson
Swift declaration
convenience init(handle: String, nameComponents: PersonNameComponents, contactIdentifier: String?)
init · iOS 10.0+ · Deprecated in iOS 10.0

init

TypeScript
static initHandleNameComponentsDisplayNameImageContactIdentifier(handle: string, nameComponents?: (_Foundation_PersonNameComponents) | null, displayName?: (string) | null, image?: (INImage) | null, contactIdentifier?: (string) | null): INPerson
Swift declaration
convenience init(handle: String, nameComponents: PersonNameComponents?, displayName: String?, image: INImage?, contactIdentifier: String?)
init · iOS 10.0+

init

TypeScript
static initPersonHandleNameComponentsDisplayNameImageContactIdentifierCustomIdentifier(personHandle: INPersonHandle, nameComponents?: (_Foundation_PersonNameComponents) | null, displayName?: (string) | null, image?: (INImage) | null, contactIdentifier?: (string) | null, customIdentifier?: (string) | null): INPerson
Swift declaration
convenience init(personHandle: INPersonHandle, nameComponents: PersonNameComponents?, displayName: String?, image: INImage?, contactIdentifier: String?, customIdentifier: String?)
init

init

TypeScript
static 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 declaration
convenience init(personHandle: INPersonHandle, nameComponents: PersonNameComponents?, displayName: String?, image: INImage?, contactIdentifier: String?, customIdentifier: String?, aliases: [INPersonHandle]?, suggestionType: INPersonSuggestionType)
init · iOS 15.0+

init

TypeScript
static 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 declaration
convenience init(personHandle: INPersonHandle, nameComponents: PersonNameComponents?, displayName: String?, image: INImage?, contactIdentifier: String?, customIdentifier: String?, isContactSuggestion: Bool, suggestionType: INPersonSuggestionType)
init · iOS 12.0+

init

TypeScript
static initPersonHandleNameComponentsDisplayNameImageContactIdentifierCustomIdentifierIsMe(personHandle: INPersonHandle, nameComponents: (_Foundation_PersonNameComponents) | null, displayName: (string) | null, image: (INImage) | null, contactIdentifier: (string) | null, customIdentifier: (string) | null, isMe: boolean): INPerson
Swift declaration
init(personHandle: INPersonHandle, nameComponents: PersonNameComponents?, displayName: String?, image: INImage?, contactIdentifier: String?, customIdentifier: String?, isMe: Bool)
init · iOS 15.0+

init

TypeScript
static 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 declaration
convenience init(personHandle: INPersonHandle, nameComponents: PersonNameComponents?, displayName: String?, image: INImage?, contactIdentifier: String?, customIdentifier: String?, isMe: Bool, suggestionType: INPersonSuggestionType)
init · iOS 14.0+

init

TypeScript
static initPersonHandleNameComponentsDisplayNameImageContactIdentifierCustomIdentifierRelationship(personHandle: INPersonHandle, nameComponents?: (_Foundation_PersonNameComponents) | null, displayName?: (string) | null, image?: (INImage) | null, contactIdentifier?: (string) | null, customIdentifier?: (string) | null, relationship?: (INPersonRelationship) | null): INPerson
Swift declaration
convenience init(personHandle: INPersonHandle, nameComponents: PersonNameComponents?, displayName: String?, image: INImage?, contactIdentifier: String?, customIdentifier: String?, relationship: INPersonRelationship?)
get

aliases

TypeScript
get aliases(): (Array<INPersonHandle>) | null
Swift declaration
var aliases: [INPersonHandle]? { get }
get · iOS 10.0+

contactIdentifier

TypeScript
get contactIdentifier(): (string) | null
Swift declaration
var contactIdentifier: String? { get }
get · iOS 15.0+

isContactSuggestion

TypeScript
get isContactSuggestion(): boolean
Swift declaration
var isContactSuggestion: Bool { get }
get · iOS 10.0+

customIdentifier

TypeScript
get customIdentifier(): (string) | null
Swift declaration
var customIdentifier: String? { get }
get · iOS 10.0+

displayName

TypeScript
get displayName(): string
Swift declaration
var displayName: String { get }
get · iOS 10.0+ · Deprecated in iOS 10.0

handle

TypeScript
get handle(): (string) | null
Swift declaration
var handle: String? { get }
get · iOS 10.0+

image

TypeScript
get image(): (INImage) | null
Swift declaration
@NSCopying var image: INImage? { get }
get · iOS 11.0+

isMe

TypeScript
get isMe(): boolean
Swift declaration
var isMe: Bool { get }
get · iOS 10.0+

nameComponents

TypeScript
get nameComponents(): (_Foundation_PersonNameComponents) | null
Swift declaration
var nameComponents: PersonNameComponents? { get }
get · iOS 10.0+

personHandle

TypeScript
get personHandle(): (INPersonHandle) | null
Swift declaration
@NSCopying var personHandle: INPersonHandle? { get }
get · iOS 10.2+

relationship

TypeScript
get relationship(): (INPersonRelationship) | null
Swift declaration
var relationship: INPersonRelationship? { get }
get · iOS 10.3+

siriMatches

TypeScript
get siriMatches(): (Array<INPerson>) | null
Swift declaration
var siriMatches: [INPerson]? { get }
get

suggestionType

TypeScript
get suggestionType(): INPersonSuggestionType
Swift declaration
var 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 →