Protocol

INUIHostedViewSiriProviding

Methods for hiding portions of the default interfaces that Siri provides.

Overview

The properties of the INUIHostedViewSiriProviding protocol let you notify Siri that you want to replace some parts of the standard interface with your custom content. You can never remove the entire default interface provided by Siri, but you can remove specific types of information if your view controller already provides the same information.

Implement this protocol in the view controller that you use to present custom content in your Intents UI extension. Siri supports the replacement of its map interface when displaying locations or the replacement of its message interface when showing the recipients and content of a message. Implementation of this protocol and its properties is optional.

Topics

Overriding the Default Behavior

var displaysMap: Bool

A Boolean indicating whether your view controller replaces any default map interface.

var displaysMessage: Bool

A Boolean indicating whether your view controller replaces the default message interface that Siri provides.

var displaysPaymentTransaction: Bool

A Boolean indicating whether your view controller replaces the default payment transaction interface that Siri provides.

Relationships

Inherits From

See Also

Custom UI

Creating an Intents UI Extension

Create an Intents UI app extension to customize the interfaces displayed by Siri and Maps.

protocol INUIHostedViewControlling

Methods for presenting custom content in the Siri and Maps interfaces.

class INParameter

A parameter of an interaction object.