Language

StatusBarManager.ShowPowerMenuResultDisabled Field

Definition

Caution

This constant will be removed in the future version. Use Android.App.ShowPowerMenuResult enum directly instead of this field.

Result returned in a callback when a call to #showPowerMenu cannot be completed due to the Power Menu being currently disabled.

[Android.Runtime.Register("SHOW_POWER_MENU_RESULT_DISABLED", ApiSince=37)]
[System.Obsolete("This constant will be removed in the future version. Use Android.App.ShowPowerMenuResult enum directly instead of this field.", true)]
public const Android.App.ShowPowerMenuResult ShowPowerMenuResultDisabled = 1;
[<Android.Runtime.Register("SHOW_POWER_MENU_RESULT_DISABLED", ApiSince=37)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.App.ShowPowerMenuResult enum directly instead of this field.", true)>]
val mutable ShowPowerMenuResultDisabled : Android.App.ShowPowerMenuResult

Field Value

Value = 1
Attributes

Remarks

Result returned in a callback when a call to showPowerMenu(Executor, OutcomeReceiver) cannot be completed due to the Power Menu being currently disabled.

Android reference for android.app.StatusBarManager.SHOW_POWER_MENU_RESULT_DISABLED.

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