Share via


AppFunctionManager.AppFunctionStateDisabled Field

Definition

Caution

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

The app function is disabled.

[Android.Runtime.Register("APP_FUNCTION_STATE_DISABLED", ApiSince=36)]
[System.Obsolete("This constant will be removed in the future version. Use Android.App.AppFunctions.AppFunctionState enum directly instead of this field.", true)]
public const Android.App.AppFunctions.AppFunctionState AppFunctionStateDisabled = 2;
[<Android.Runtime.Register("APP_FUNCTION_STATE_DISABLED", ApiSince=36)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.App.AppFunctions.AppFunctionState enum directly instead of this field.", true)>]
val mutable AppFunctionStateDisabled : Android.App.AppFunctions.AppFunctionState

Field Value

Value = 2
Attributes

Remarks

The app function is disabled. To disable an app function, call #setAppFunctionEnabled with this value.

Java documentation for android.app.appfunctions.AppFunctionManager.APP_FUNCTION_STATE_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