EmailReadNotificationTriggerDetails Class

Definition

Represents all information necessary to render an email read notification on an accessory.

public ref class EmailReadNotificationTriggerDetails sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Phone.PhoneContract, 65536)]
class EmailReadNotificationTriggerDetails final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Phone.PhoneContract), 65536)]
public sealed class EmailReadNotificationTriggerDetails
Public NotInheritable Class EmailReadNotificationTriggerDetails
Inheritance
Object Platform::Object IInspectable EmailReadNotificationTriggerDetails
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

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

The AccessoryManager will wake up the BackgroundTask when it encounters a read status change on an email. The BackgroundTask is provided an IBackgroundTaskInstance which has a TriggerDetails property that contains the IEmailReadNotificationTriggerDetails.

Properties

AccessoryNotificationType

An AccessoryNotificationType that specifies the type of notification received. For email notifications, this value is AccessoryNotificationType.EmailRead.

AccountName

Represents the name of the email account.

AppDisplayName

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

AppId

The ID of the app associated with the notification, if applicable. This is not the ID of the app in the store. It is the ID of the app instance on the specific phone to uniquely identify the app.

IsRead

Represents whether an email has been read.

MessageEntryId

Represents a unique identifier for an individual email in phone MAPI store.

ParentFolderName

Name of the parent folder of the email message.

StartedProcessing

Specifies whether the accessory has started processing the email notification.

TimeCreated

Represents the date and time at which the email notification was created.

Applies to

See also