One Logo Pool Ball
CarPlay · IOS API REFERENCE

CPContactTemplate

class · iOS 14.0+ · SDK 27.1

@MainActor class CPContactTemplate

Members (3)

init · iOS 14.0+

init

TypeScript
static init(contact: CPContact): Promise<CPContactTemplate>
Swift declaration
init(contact: CPContact)
get · iOS 14.0+

contact

TypeScript
get contact(): Promise<CPContact>
Swift declaration
var contact: CPContact { get set }
set · iOS 14.0+

contact

TypeScript
setContact(value: CPContact): Promise<void>
Swift declaration
var contact: CPContact { get set }

Skipped declarations

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

CPContactTemplate.init()

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

All CarPlay types →