InputManager.GetPeripheralCustomization 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.
Retrieves a specific peripheral customization action for a given trigger.
[Android.Runtime.Register("getPeripheralCustomization", "(IILandroid/hardware/input/CustomizationTrigger;)Landroid/hardware/input/CustomizationAction;", "", ApiSince=37)]
[Android.Runtime.RequiresPermission("android.permission.MANAGE_PERIPHERAL_CUSTOMIZATION")]
public Android.Hardware.Input.CustomizationAction? GetPeripheralCustomization(int vendorId, int productId, Android.Hardware.Input.CustomizationTrigger trigger);
[<Android.Runtime.Register("getPeripheralCustomization", "(IILandroid/hardware/input/CustomizationTrigger;)Landroid/hardware/input/CustomizationAction;", "", ApiSince=37)>]
[<Android.Runtime.RequiresPermission("android.permission.MANAGE_PERIPHERAL_CUSTOMIZATION")>]
member this.GetPeripheralCustomization : int * int * Android.Hardware.Input.CustomizationTrigger -> Android.Hardware.Input.CustomizationAction
Parameters
- vendorId
- Int32
the vendor ID of the device
- productId
- Int32
the product ID of the device
- trigger
- CustomizationTrigger
Returns
action or null if none exists.
- Attributes
Remarks
Retrieves a specific peripheral customization action for a given trigger. Requires Manifest.permission.MANAGE_PERIPHERAL_CUSTOMIZATION
Android reference for android.hardware.input.InputManager.getPeripheralCustomization.
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.