ShortcutInfo.DisabledReasonByApp 字段

定义

注意

This constant will be removed in the future version. Use Android.Content.PM.ShortcutDisabledReason enum directly instead of this field.

发布者应用已使用 ShortcutManager#disableShortcuts(List) API 禁用快捷方式。

[Android.Runtime.Register("DISABLED_REASON_BY_APP", ApiSince=28)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Content.PM.ShortcutDisabledReason enum directly instead of this field.", true)]
public const Android.Content.PM.ShortcutDisabledReason DisabledReasonByApp = 1;
[<Android.Runtime.Register("DISABLED_REASON_BY_APP", ApiSince=28)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Content.PM.ShortcutDisabledReason enum directly instead of this field.", true)>]
val mutable DisabledReasonByApp : Android.Content.PM.ShortcutDisabledReason

字段值

Value = 1

实现

属性

注解

发布者应用已使用 ShortcutManager#disableShortcuts(List) API 禁用快捷方式。

适用于 . 的 android.content.pm.ShortcutInfo.DISABLED_REASON_BY_APPJava 文档

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

适用于