VoiceCommandContentTile VoiceCommandContentTile VoiceCommandContentTile VoiceCommandContentTile VoiceCommandContentTile Class

Definition

An asset, containing image, text, and link data, provided by the background app service for display on the Cortana canvas.

public : sealed class VoiceCommandContentTile
struct winrt::Windows::ApplicationModel::VoiceCommands::VoiceCommandContentTile
public sealed class VoiceCommandContentTile
Public NotInheritable Class VoiceCommandContentTile
var voiceCommandContentTile = new voiceCommandContentTile();
Attributes

Windows 10 requirements

Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Remarks

MaxSupportedVoiceCommandContentTiles specifies the maximum number of tiles the background app service can display on the Cortana canvas.

The maximum number of tiles that can be displayed depends on the feedback screen being shown. One item when the VoiceCommandResponse is created for ReportProgressAsync or RequestConfirmationAsync, and more than one item when the VoiceCommandResponse is created for RequestDisambiguationAsync.

Constructors

VoiceCommandContentTile() VoiceCommandContentTile() VoiceCommandContentTile() VoiceCommandContentTile() VoiceCommandContentTile()

Creates an instance of the VoiceCommandContentTile class.

Properties

AppContext AppContext AppContext AppContext AppContext

Gets or sets supplementary information the background app service can associate with the content tile. This information is not used by Cortana.

AppLaunchArgument AppLaunchArgument AppLaunchArgument AppLaunchArgument AppLaunchArgument

Gets or sets a string as a launch parameter that can be associated with the response by the background app service.

AppLaunchArgument is used to specify the state or context of the foreground app when launched through a deep link in Cortana.

ContentTileType ContentTileType ContentTileType ContentTileType ContentTileType

Gets or sets the layout template used for the content tiles on the Cortana canvas.

Note

All content tiles on a Cortana feedback screen must use the same template.

Image Image Image Image Image

Gets or sets the image used on the content tile.

Specify the tile layout template with the ContentTileType property.

TextLine1 TextLine1 TextLine1 TextLine1 TextLine1

Gets or sets the first line of text used on the content tile.

Specify the tile layout template with the ContentTileType property.

TextLine2 TextLine2 TextLine2 TextLine2 TextLine2

Gets or sets the second line of text used on the content tile.

Specify the tile layout template with the ContentTileType property.

TextLine3 TextLine3 TextLine3 TextLine3 TextLine3

Gets or sets the third line of text used on the content tile.

Specify the tile layout template with the ContentTileType property.

Title Title Title Title Title

Gets or sets the title used on the content tile.

Specify the tile layout template with the ContentTileType property.

See also