Language

Keyboard.SetShifted(Boolean) Method

Definition

Updates the stored Shift state and the on state of recorded Shift keys in the base implementation.

[Android.Runtime.Register("setShifted", "(Z)Z", "GetSetShifted_ZHandler")]
public virtual bool SetShifted(bool shiftState);
[<Android.Runtime.Register("setShifted", "(Z)Z", "GetSetShifted_ZHandler")>]
abstract member SetShifted : bool -> bool
override this.SetShifted : bool -> bool

Parameters

shiftState
Boolean

The Shift state to set: true for on; false for off.

Returns

In the base implementation, true if the stored Shift state changed; otherwise, false.

Attributes

Remarks

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