Share via


EmailReadNotificationTriggerDetails.IsRead Property

Definition

Represents whether an email has been read.

public:
 property bool IsRead { bool get(); };
bool IsRead();
public bool IsRead { get; }
var boolean = emailReadNotificationTriggerDetails.isRead;
Public ReadOnly Property IsRead As Boolean

Property Value

Boolean

bool

true if the email has been read, otherwise false.

Windows requirements

App capabilities
accessoryManager

Remarks

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.

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

Applies to