InputManager.IsKeyAllowedForCustomization Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets whether a keycode can be customized on a device.
[Android.Runtime.Register("isKeyAllowedForCustomization", "(III)Z", "", ApiSince=37)]
[Android.Runtime.RequiresPermission("android.permission.MANAGE_PERIPHERAL_CUSTOMIZATION")]
public bool IsKeyAllowedForCustomization(int vendorId, int productId, Android.Hardware.Input.CustomizableKeyCode keyCode);
[<Android.Runtime.Register("isKeyAllowedForCustomization", "(III)Z", "", ApiSince=37)>]
[<Android.Runtime.RequiresPermission("android.permission.MANAGE_PERIPHERAL_CUSTOMIZATION")>]
member this.IsKeyAllowedForCustomization : int * int * Android.Hardware.Input.CustomizableKeyCode -> bool
Parameters
- vendorId
- Int32
the vendor ID for the device.
- productId
- Int32
the product ID for the device.
- keyCode
- CustomizableKeyCode
the android keycode to check.
Returns
true if the keycode can be customized on the device. False otherwise.
- Attributes