Partager via


Settings.System.EndButtonBehavior Field

Definition

What happens when the user presses the end call button if they're not on a call.

[Android.Runtime.Register("END_BUTTON_BEHAVIOR")]
public const string EndButtonBehavior;
[<Android.Runtime.Register("END_BUTTON_BEHAVIOR")>]
val mutable EndButtonBehavior : string

Field Value

Attributes

Remarks

What happens when the user presses the end call button if they're not on a call.<br/> <b>Values:</b><br/> 0 - The end button does nothing.<br/> 1 - The end button goes to the home screen.<br/> 2 - The end button puts the device to sleep and locks the keyguard.<br/> 3 - The end button goes to the home screen. If the user is already on the home screen, it puts the device to sleep.

Java documentation for android.provider.Settings.System.END_BUTTON_BEHAVIOR.

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