Språk

InputManager.RemovePeripheralCustomization Method

Definition

Removes a peripheral customization for a given vendor ID and product ID.

[Android.Runtime.Register("removePeripheralCustomization", "(IILandroid/hardware/input/CustomizationTrigger;)V", "", ApiSince=37)]
[Android.Runtime.RequiresPermission("android.permission.MANAGE_PERIPHERAL_CUSTOMIZATION")]
public void RemovePeripheralCustomization(int vendorId, int productId, Android.Hardware.Input.CustomizationTrigger trigger);
[<Android.Runtime.Register("removePeripheralCustomization", "(IILandroid/hardware/input/CustomizationTrigger;)V", "", ApiSince=37)>]
[<Android.Runtime.RequiresPermission("android.permission.MANAGE_PERIPHERAL_CUSTOMIZATION")>]
member this.RemovePeripheralCustomization : int * int * Android.Hardware.Input.CustomizationTrigger -> unit

Parameters

vendorId
Int32

the vendor ID of the device

productId
Int32

the product ID of the device

trigger
CustomizationTrigger

the trigger of the customization to remove. This value cannot be null.

Attributes

Remarks

Removes a peripheral customization for a given vendor ID and product ID.

This will remove a specific customization on all connected peripheral devices matching the vendor and product ID. If the specified customization does not exist, this method does nothing. Requires Manifest.permission.MANAGE_PERIPHERAL_CUSTOMIZATION

Android reference for android.hardware.input.InputManager.removePeripheralCustomization.

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