Freigeben über


Notification.ShortcutId Property

Definition

Returns the ShortcutInfo#getId() id that this notification supersedes, if any.

public virtual string? ShortcutId { [Android.Runtime.Register("getShortcutId", "()Ljava/lang/String;", "GetGetShortcutIdHandler", ApiSince=26)] get; }
[<get: Android.Runtime.Register("getShortcutId", "()Ljava/lang/String;", "GetGetShortcutIdHandler", ApiSince=26)>]
member this.ShortcutId : string

Property Value

Attributes

Remarks

Returns the ShortcutInfo#getId() id that this notification supersedes, if any.

Used by some Launchers that display notification content to hide shortcuts that duplicate notifications.

Java documentation for android.app.Notification.getShortcutId().

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