Instance Method

resolveSignals(for:with:)

Resolves the type of signal (audible or visual).

Declaration

optional func resolveSignals(for intent: INActivateCarSignalIntent, with completion: @escaping (INCarSignalOptionsResolutionResult) -> Void)

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 that specifies the requested signal types.

Discussion

Implement this method to verify the requested signal type (audible or visual). For the complete list of possible signals, see INCarSignalOptions.

See Also

Resolving the Intent Parameters