Instance Property

locked

A Boolean value indicating the status of the car’s locks.

Declaration

@nonobjc final var locked: Bool? { get set }

Discussion

Typically, you assign a value to this property only after handling the intent. If the car is locked, set the property to true; otherwise, set it to false.