One Logo Pool Ball
Intents · IOS API REFERENCE

INCar

class · iOS 14.0+ · SDK 27.1

class INCar

Members (11)

init · iOS 14.0+

init

TypeScript
static init(carIdentifier: string, displayName: (string) | null, year: (string) | null, make: (string) | null, model: (string) | null, color: (_CoreGraphics_CGColor) | null, headUnit: (INCar_HeadUnit) | null, supportedChargingConnectors: Array<INCar_ChargingConnectorType>): INCar
Swift declaration
init(carIdentifier: String, displayName: String?, year: String?, make: String?, model: String?, color: CGColor?, headUnit: INCar.HeadUnit?, supportedChargingConnectors: [INCar.ChargingConnectorType])
method · iOS 14.0+

maximumPower

TypeScript
maximumPower(chargingConnectorType: INCar_ChargingConnectorType): (_Foundation_Measurement<_Foundation_UnitPower>) | null
Swift declaration
func maximumPower(for chargingConnectorType: INCar.ChargingConnectorType) -> Measurement<UnitPower>?
method · iOS 14.0+

setMaximumPower

TypeScript
setMaximumPower(power: _Foundation_Measurement<_Foundation_UnitPower>, chargingConnectorType: INCar_ChargingConnectorType): void
Swift declaration
func setMaximumPower(_ power: Measurement<UnitPower>, for chargingConnectorType: INCar.ChargingConnectorType)
get · iOS 14.0+

carIdentifier

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

color

TypeScript
get color(): (_CoreGraphics_CGColor) | null
Swift declaration
var color: CGColor? { get }
get · iOS 14.0+

displayName

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

headUnit

TypeScript
get headUnit(): (INCar_HeadUnit) | null
Swift declaration
@NSCopying var headUnit: INCar.HeadUnit? { get }
get · iOS 14.0+

make

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

model

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

supportedChargingConnectors

TypeScript
get supportedChargingConnectors(): Array<INCar_ChargingConnectorType>
Swift declaration
var supportedChargingConnectors: [INCar.ChargingConnectorType] { get }
get · iOS 14.0+

year

TypeScript
get year(): (string) | null
Swift declaration
var year: String? { get }

Skipped declarations

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

INCar.init()

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

All Intents types →