EmailNotificationTriggerDetails Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents all information necessary to render an email notification on an accessory.
public ref class EmailNotificationTriggerDetails sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Phone.PhoneContract, 65536)]
class EmailNotificationTriggerDetails final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Phone.PhoneContract), 65536)]
public sealed class EmailNotificationTriggerDetails
Public NotInheritable Class EmailNotificationTriggerDetails
- Inheritance
- 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
Important
When the phone is pin locked, email notifications may come in with no information due to Data Protection Under pin Lock (DPUL). This feature is enabled by the end-user.
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 email notifications, this value is AccessoryNotificationType.Email. |
AccountName |
Account name on the phone. |
AppDisplayName |
Represents the display name of the app that generated the email 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. |
EmailMessage |
An EmailMessage object that contains additional details about the email. |
MessageEntryId |
Represents a unique identifier for an individual email in phone MAPI store. |
ParentFolderName |
Name of the parent folder of the email message. |
SenderAddress |
The email address of the sender of the email message. |
SenderName |
Display name of the sender for 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. |
Timestamp |
Represents the date and time at which the notification was delivered from Accessory Manager service to the accessory app. |