Instance Method

resolveEnableForSetDefrosterSettingsInCar:withCompletion:

Resolves whether you can enable or disable the defroster setting.

Declaration

- (void)resolveEnableForSetDefrosterSettingsInCar:(INSetDefrosterSettingsInCarIntent *)intent withCompletion:(void (^)(INBooleanResolutionResult *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 whose value reflects the value chosen by the user. If the defroster cannot be changed to the specified value, specify a resolution result indicating whether you require confirmation from the user before making the change or whether the change cannot be made.

Discussion

Implement this method to resolve whether the app can enable the defrost.

See Also

Resolving the Intent Parameters