LauncherApps.PinItemRequest.ShortcutInfo 属性

定义

ShortcutInfo 由请求应用发送。

public Android.Content.PM.ShortcutInfo? ShortcutInfo { [Android.Runtime.Register("getShortcutInfo", "()Landroid/content/pm/ShortcutInfo;", "", ApiSince=26)] get; }
[<get: Android.Runtime.Register("getShortcutInfo", "()Landroid/content/pm/ShortcutInfo;", "", ApiSince=26)>]
member this.ShortcutInfo : Android.Content.PM.ShortcutInfo

属性值

ShortcutInfo当请求的类型为#REQUEST_TYPE_SHORTCUT时请求。 否则为 Null。

属性

注解

ShortcutInfo 由请求应用发送。 对于 #REQUEST_TYPE_SHORTCUT 请求,始终为非 null,对于不同的请求类型,始终为 null。

适用于 . 的 android.content.pm.LauncherApps.PinItemRequest.getShortcutInfo()Java 文档

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于