AccessoryManager.EnableEmailNotificationFolderFilter Method
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.
Enables email notifications for specified folders in specified account.
public:
static void EnableEmailNotificationFolderFilter(Platform::String ^ emailAccount, IVectorView<Platform::String ^> ^ folders);
static void EnableEmailNotificationFolderFilter(winrt::hstring const& emailAccount, IVectorView<winrt::hstring> const& folders);
public static void EnableEmailNotificationFolderFilter(string emailAccount, IReadOnlyList<string> folders);
function enableEmailNotificationFolderFilter(emailAccount, folders)
Public Shared Sub EnableEmailNotificationFolderFilter (emailAccount As String, folders As IReadOnlyList(Of String))
Parameters
- emailAccount
-
String
Platform::String
winrt::hstring
The email account to enable email notifications for.
- folders
-
IVectorView<Platform::String>
IVectorView<winrt::hstring>
The folders in the email account that the user wants to monitor.
Windows requirements
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.