Language

Notification.WearableExtender.SetBridgeTag(String) Method

Definition

Sets a bridge tag for this notification.

[Android.Runtime.Register("setBridgeTag", "(Ljava/lang/String;)Landroid/app/Notification$WearableExtender;", "", ApiSince=26)]
public Android.App.Notification.WearableExtender? SetBridgeTag(string? bridgeTag);
[<Android.Runtime.Register("setBridgeTag", "(Ljava/lang/String;)Landroid/app/Notification$WearableExtender;", "", ApiSince=26)>]
member this.SetBridgeTag : string -> Android.App.Notification.WearableExtender

Parameters

bridgeTag
String

String: the bridge tag of the notification

Returns

this object for method chaining

Attributes

Remarks

Sets a bridge tag for this notification. A bridge tag can be set for notifications posted from a phone to provide finer-grained control on what notifications are bridged to wearables. See Adding Wearable Features to Notifications for more information.

Android reference for android.app.Notification.WearableExtender.setBridgeTag.

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.

Applies to