다음을 통해 공유


VerifiedKeyEvent.ScanCode Property

Definition

Retrieve the hardware key id of this key event.

public int ScanCode { [Android.Runtime.Register("getScanCode", "()I", "", ApiSince=30)] get; }
[<get: Android.Runtime.Register("getScanCode", "()I", "", ApiSince=30)>]
member this.ScanCode : int

Property Value

Attributes

Remarks

Retrieve the hardware key id of this key event. These values are not reliable and vary from device to device.

Java documentation for android.view.VerifiedKeyEvent.getScanCode().

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