Udostępnij za pośrednictwem


InputDevice.IsVirtual Property

Definition

Returns true if the device is a virtual input device rather than a real one, such as the virtual keyboard (see KeyCharacterMap#VIRTUAL_KEYBOARD).

public bool IsVirtual { [Android.Runtime.Register("isVirtual", "()Z", "")] get; }
[<get: Android.Runtime.Register("isVirtual", "()Z", "")>]
member this.IsVirtual : bool

Property Value

True if the device is virtual.

Attributes

Remarks

Returns true if the device is a virtual input device rather than a real one, such as the virtual keyboard (see KeyCharacterMap#VIRTUAL_KEYBOARD).

Virtual input devices are provided to implement system-level functionality and should not be seen or configured by users.

Java documentation for android.view.InputDevice.isVirtual().

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