AccessoryManager.ClearToast(String) 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.
When a toast message is read on an accessory device, it can cause the toast to be cleared on the phone by using this method. The entry in the Action Center for the toast will be cleared as a visible result of calling this method.
public:
static void ClearToast(Platform::String ^ instanceId);
static void ClearToast(winrt::hstring const& instanceId);
public static void ClearToast(string instanceId);
function clearToast(instanceId)
Public Shared Sub ClearToast (instanceId As String)
Parameters
- instanceId
-
String
Platform::String
winrt::hstring
String containing the instance id of the toast to clear.
Windows requirements
App capabilities |
accessoryManager
|