语言

Notification.ShortcutId 属性

定义

返回 ShortcutInfo#getId() id 此通知取代的通知(如果有)。

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

属性值

属性

注解

返回 ShortcutInfo#getId() id 此通知取代的通知(如果有)。

一些显示通知内容的启动器用来隐藏重复通知的快捷方式。

Java文档android.app.Notification.getShortcutId()。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于