Notification.WearableExtender.SetDismissalId(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.
Sets the dismissal id for this notification.
[Android.Runtime.Register("setDismissalId", "(Ljava/lang/String;)Landroid/app/Notification$WearableExtender;", "", ApiSince=24)]
public Android.App.Notification.WearableExtender? SetDismissalId(string? dismissalId);
[<Android.Runtime.Register("setDismissalId", "(Ljava/lang/String;)Landroid/app/Notification$WearableExtender;", "", ApiSince=24)>]
member this.SetDismissalId : string -> Android.App.Notification.WearableExtender
Parameters
- dismissalId
- String
String: the dismissal id of the notification
Returns
this object for method chaining
- Attributes
Remarks
Sets the dismissal id for this notification. If a notification is posted with a dismissal id, then when that notification is canceled, notifications on other wearables and the paired Android phone having that same dismissal id will also be canceled. See Adding Wearable Features to Notifications for more information.
Android reference for android.app.Notification.WearableExtender.setDismissalId.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.