Intents · IOS API REFERENCE
INCar
class · iOS 14.0+ · SDK 27.1
class INCar
Members (11)
init · iOS 14.0+init
TypeScriptstatic 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 declarationinit(carIdentifier: String, displayName: String?, year: String?, make: String?, model: String?, color: CGColor?, headUnit: INCar.HeadUnit?, supportedChargingConnectors: [INCar.ChargingConnectorType])
method · iOS 14.0+maximumPower
TypeScriptmaximumPower(chargingConnectorType: INCar_ChargingConnectorType): (_Foundation_Measurement<_Foundation_UnitPower>) | null
Swift declarationfunc maximumPower(for chargingConnectorType: INCar.ChargingConnectorType) -> Measurement<UnitPower>?
method · iOS 14.0+setMaximumPower
TypeScriptsetMaximumPower(power: _Foundation_Measurement<_Foundation_UnitPower>, chargingConnectorType: INCar_ChargingConnectorType): void
Swift declarationfunc setMaximumPower(_ power: Measurement<UnitPower>, for chargingConnectorType: INCar.ChargingConnectorType)
get · iOS 14.0+carIdentifier
TypeScriptget carIdentifier(): string
Swift declarationvar carIdentifier: String { get }
get · iOS 14.0+color
TypeScriptget color(): (_CoreGraphics_CGColor) | null
Swift declarationvar color: CGColor? { get }
get · iOS 14.0+displayName
TypeScriptget displayName(): (string) | null
Swift declarationvar displayName: String? { get }
get · iOS 14.0+headUnit
TypeScriptget headUnit(): (INCar_HeadUnit) | null
Swift declaration@NSCopying var headUnit: INCar.HeadUnit? { get }
get · iOS 14.0+make
TypeScriptget make(): (string) | null
Swift declarationvar make: String? { get }
get · iOS 14.0+model
TypeScriptget model(): (string) | null
Swift declarationvar model: String? { get }
get · iOS 14.0+supportedChargingConnectors
TypeScriptget supportedChargingConnectors(): Array<INCar_ChargingConnectorType>
Swift declarationvar supportedChargingConnectors: [INCar.ChargingConnectorType] { get }
get · iOS 14.0+year
TypeScriptget year(): (string) | null
Swift declarationvar 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 →