Share via


CortanaTileNotificationTriggerDetails Class

Definition

Represents all information necessary to render a Cortana live tile update notification on an accessory.

public ref class CortanaTileNotificationTriggerDetails sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Phone.PhoneContract, 65536)]
class CortanaTileNotificationTriggerDetails final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Phone.PhoneContract), 65536)]
public sealed class CortanaTileNotificationTriggerDetails
Public NotInheritable Class CortanaTileNotificationTriggerDetails
Inheritance
Object Platform::Object IInspectable CortanaTileNotificationTriggerDetails
Attributes
Implements

Windows requirements

Device family
Windows Mobile Extension SDK (introduced in 10.0.10240.0)
API contract
Windows.Phone.PhoneContract (introduced in v1.0)
App capabilities
accessoryManager

Remarks

Trigger details contain only notification data. They do not contain any information about how the notification should be displayed.

Calling this API requires that the ID_CAP_SMS and ID_CAP_SMS_COMPANION capabilities be specified in the application manifest.

Properties

AccessoryNotificationType

An AccessoryNotificationType that specifies the type of notification received. For Cortana Tile notifications, this value is AccessoryNotificationType.CortanaTile.

AppDisplayName

Represents the display name of the app that generated the notification.

AppId

Represents the instance ID of the app that generated the notification.

Content

A string that represents annotation text on a Cortana live tile. On the live tile, this content wraps for up to four lines.

EmphasizedText

A string that is used to display temperature on a Cortana live tile. On the live tile, this text renders in extra-large font and does not wrap. If this property has a value, LargeContent2, NonWrappedSmallContent2, NonWrappedSmallContent3, and NonWrappedSmallContent4 are always hidden.

LargeContent1

A string that represents a Cortana live tile heading. On the live tile, the content is displayed in all caps.

LargeContent2

A string that represents text that appears below the Cortana live tile heading, if present. On the live tile, the content wraps for two lines.

NonWrappedSmallContent1

A string that represents the first line of small, non-wrapped text on a Cortana live tile.

NonWrappedSmallContent2

A string that represents the second line of small, non-wrapped text on a Cortana live tile.

NonWrappedSmallContent3

A string that represents the third line of small, non-wrapped text on a Cortana live tile.

NonWrappedSmallContent4

A string that represents the fourth line of small, non-wrapped text on a Cortana live tile.

Source

A string that corresponds to source text from a Cortana live tile. Source text is displayed in the bottom-right corner of a large tile.

StartedProcessing

Specifies whether the accessory has started processing the notification.

TileId

The ID of the Cortana live tile that corresponds to the notification that was received.

TimeCreated

The date and time at which the notification was created.

Applies to

See also