语言

UsageEvents.Event.ShortcutId 属性

定义

如果事件的类型为类型#SHORTCUT_INVOCATION,则返回此事件的 IDandroid.content.pm.ShortcutInfo,否则返回 null。

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

属性值

特性

注解

如果事件的类型为类型#SHORTCUT_INVOCATION,则返回此事件的 IDandroid.content.pm.ShortcutInfo,否则返回 null。

Java文档android.app.usage.UsageEvents.Event.getShortcutId()。

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

适用于