Instance Method

resolveCarNameForSetSeatSettingsInCar:withCompletion:

Resolves the car name.

Declaration

- (void)resolveCarNameForSetSeatSettingsInCar:(INSetSeatSettingsInCarIntent *)intent withCompletion:(void (^)(INSpeakableStringResolutionResult *resolutionResult))completion;

Parameters

intent

The intent object containing details about the user’s request. Use this object to get the initial information, if any, provided by the user.

completion

The block to execute with the resolution. You must execute this block at some point during your implementation of this method. This block has no return value and takes the following parameter:

resolutionResult

The object containing the details of your proposed resolution. For successful resolutions, create a resolution object with the name of the user's car.

Discussion

Implement this method to resolve the name of the user’s car. If the app has access to more than one car, use the intent’s carName property to identify the correct car. If the app has access to only a single car, you can call the completion block with a resolutionResultNotRequired resolution, to indicate that the app doesnt need the car name.

See Also

Resolving the Intent Parameters

- resolveEnableCoolingForSetSeatSettingsInCar:withCompletion:

Resolves whether you can enable the seat cooling system.

- resolveEnableHeatingForSetSeatSettingsInCar:withCompletion:

Resolves whether you can enable the seat heating system.

- resolveEnableMassageForSetSeatSettingsInCar:withCompletion:

Resolves whether you can enable the seat massage system.

- resolveSeatForSetSeatSettingsInCar:withCompletion:

Resolves the requested seat position.

- resolveLevelForSetSeatSettingsInCar:withCompletion:

Resolves the intensity level of the requested system.

- resolveRelativeLevelSettingForSetSeatSettingsInCar:withCompletion:

Resolves the requested relative qualifier for the intensity level.