Partager via


InputManager.GetHostUsiVersion(Display) Method

Definition

Reports the version of the Universal Stylus Initiative (USI) protocol supported by the given display, if any.

[Android.Runtime.Register("getHostUsiVersion", "(Landroid/view/Display;)Landroid/hardware/input/HostUsiVersion;", "", ApiSince=34)]
public Android.Hardware.Input.HostUsiVersion? GetHostUsiVersion (Android.Views.Display display);
[<Android.Runtime.Register("getHostUsiVersion", "(Landroid/view/Display;)Landroid/hardware/input/HostUsiVersion;", "", ApiSince=34)>]
member this.GetHostUsiVersion : Android.Views.Display -> Android.Hardware.Input.HostUsiVersion

Parameters

display
Display

Returns

the USI version supported by the display, or null if the device does not support USI

Attributes

Remarks

Reports the version of the Universal Stylus Initiative (USI) protocol supported by the given display, if any.

Java documentation for android.hardware.input.InputManager.getHostUsiVersion(android.view.Display).

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