VoiceCommandContentTile Class

Definition

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

public ref class VoiceCommandContentTile sealed
/// [Windows.Foundation.Metadata.Activatable(65536, Windows.Foundation.UniversalApiContract)]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class VoiceCommandContentTile final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Activatable(65536, "Windows.Foundation.UniversalApiContract")]
class VoiceCommandContentTile final
[Windows.Foundation.Metadata.Activatable(65536, typeof(Windows.Foundation.UniversalApiContract))]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class VoiceCommandContentTile
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Activatable(65536, "Windows.Foundation.UniversalApiContract")]
public sealed class VoiceCommandContentTile
function VoiceCommandContentTile()
Public NotInheritable Class VoiceCommandContentTile
Inheritance
Object Platform::Object IInspectable VoiceCommandContentTile
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

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()

Creates an instance of the VoiceCommandContentTile class.

Properties

AppContext

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

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

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

Gets or sets the image used on the content tile.

Specify the tile layout template with the ContentTileType property.

TextLine1

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

Specify the tile layout template with the ContentTileType property.

TextLine2

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

Specify the tile layout template with the ContentTileType property.

TextLine3

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

Specify the tile layout template with the ContentTileType property.

Title

Gets or sets the title used on the content tile.

Specify the tile layout template with the ContentTileType property.

Applies to

See also