init(locked:carName:)
Initializes an intent to set the lock status of the named car.
Declaration
@nonobjc convenience init(locked: Bool?, carName: INSpeakableString?)Parameters
Return Value
A newly initialized INSetCarLockStatusIntent object.
Discussion
Normally, you do not create instances of this class yourself. Instead, Siri creates instances when the user asks it to lock or unlock the car. However, you can use this method during testing to create intent objects to validate your intent-handling code paths.