Share via


ShortcutInfo.DisabledReasonByApp Field

Definition

Caution

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

Shortcut has been disabled by the publisher app with the 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

Field Value

Value = 1

Implements

Attributes

Remarks

Shortcut has been disabled by the publisher app with the ShortcutManager#disableShortcuts(List) API.

Java documentation for android.content.pm.ShortcutInfo.DISABLED_REASON_BY_APP.

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