Aracılığıyla paylaş


KeyboardView.SetShifted(Boolean) Method

Definition

Sets the state of the shift key of the keyboard, if any.

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

Parameters

shifted
Boolean

whether or not to enable the state of the shift key

Returns

true if the shift key state changed, false if there was no change

Attributes

Remarks

Sets the state of the shift key of the keyboard, if any.

Java documentation for android.inputmethodservice.KeyboardView.setShifted(boolean).

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

See also