One Logo Pool Ball
CarPlay · IOS API REFERENCE

CPContact

class · iOS 14.0+ · SDK 27.1

class CPContact

Members (11)

init · iOS 14.0+

init

TypeScript
static init(name: string, image: _UIKit_UIImage): CPContact
Swift declaration
init(name: String, image: UIImage)
get · iOS 14.0+

actions

TypeScript
get actions(): (Array<CPButton>) | null
Swift declaration
var actions: [CPButton]? { get set }
set · iOS 14.0+

actions

TypeScript
set actions(value: (Array<CPButton>) | null)
Swift declaration
var actions: [CPButton]? { get set }
get · iOS 14.0+

image

TypeScript
get image(): _UIKit_UIImage
Swift declaration
var image: UIImage { get set }
set · iOS 14.0+

image

TypeScript
set image(value: _UIKit_UIImage)
Swift declaration
var image: UIImage { get set }
get · iOS 14.0+

informativeText

TypeScript
get informativeText(): (string) | null
Swift declaration
var informativeText: String? { get set }
set · iOS 14.0+

informativeText

TypeScript
set informativeText(value: (string) | null)
Swift declaration
var informativeText: String? { get set }
get · iOS 14.0+

name

TypeScript
get name(): string
Swift declaration
var name: String { get set }
set · iOS 14.0+

name

TypeScript
set name(value: string)
Swift declaration
var name: String { get set }
get · iOS 14.0+

subtitle

TypeScript
get subtitle(): (string) | null
Swift declaration
var subtitle: String? { get set }
set · iOS 14.0+

subtitle

TypeScript
set subtitle(value: (string) | null)
Swift declaration
var subtitle: String? { get set }

Skipped declarations

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

CPContact.init()

inherited init: cannot prove legal (class declares 1 custom initializer)

All CarPlay types →