One Logo Pool Ball
CarKey · IOS API REFERENCE

FunctionIdentifier

struct · iOS 16.0+ · SDK 27.1

struct FunctionIdentifier

A type that stores the designation code for one of your vehicle’s features. A ``FunctionIdentifier`` type wraps a vehicle-specific code you define. This code — known as the function identifier — corresponds to a particular feature of your vehicle. For example, one function identifier might represent the vehicle’s door locks and another represent the vehicle’s window system. Use this type in conjunction with an ``ActionIdentifier`` type to specify the complete action you want to perform on a vehicle.

Members (3)

init · iOS 16.0+

init

TypeScript
initRawValue(rawValue: number): FunctionIdentifier
Swift declaration
init(rawValue: Int)

Creates and returns a new function identifier with the specified value. - Parameters: - rawValue: The value for the new type. - Returns: A new function identifier type.

get · iOS 16.0+

rawValue

TypeScript
getRawValue($self: FunctionIdentifier): number
Swift declaration
let rawValue: Int

The raw value that corresponds to the specific feature of your vehicle.

init · iOS 16.0+

init

TypeScript
init(rawValue: number): FunctionIdentifier
Swift declaration
init(_ rawValue: Int)

Creates and returns a new function identifier with the specified value. - Parameters: - rawValue: The value for the new type. - Returns: A new function identifier type.

Skipped declarations

No declarations were skipped in this snapshot.

All CarKey types →