A type that contains the status code a vehicle returns
after executing an action.
An ``ExecutionStatus`` type wraps a code that indicates how
your vehicle responded to a particular request. The Car
Connectivity Consortium specifications define the meaning of
most execution status codes, but you can define custom codes
as needed for your vehicles.
Members (3)
init · iOS 16.0+
init
TypeScript
initRawValue(rawValue: number): ExecutionStatus
Swift declaration
init(rawValue: Int)
Creates and returns a new execution status with the specified value.
- Parameters:
- rawValue: The value for the new type.
- Returns: A new execution status type.
get · iOS 16.0+
rawValue
TypeScript
getRawValue($self: ExecutionStatus): number
Swift declaration
let rawValue: Int
The raw value that corresponds to the feature-specific status.
init · iOS 16.0+
init
TypeScript
init(rawValue: number): ExecutionStatus
Swift declaration
init(_ rawValue: Int)
Creates and returns a new execution status with the specified value.
- Parameters:
- rawValue: The value for the new type.
- Returns: A new execution status type.