Språk

InputManager.RemoveAllPeripheralCustomizations(Int32, Int32) Method

Definition

Remove all peripheral customizations for a given vendor ID and product ID.

[Android.Runtime.Register("removeAllPeripheralCustomizations", "(II)V", "", ApiSince=37)]
[Android.Runtime.RequiresPermission("android.permission.MANAGE_PERIPHERAL_CUSTOMIZATION")]
public void RemoveAllPeripheralCustomizations(int vendorId, int productId);
[<Android.Runtime.Register("removeAllPeripheralCustomizations", "(II)V", "", ApiSince=37)>]
[<Android.Runtime.RequiresPermission("android.permission.MANAGE_PERIPHERAL_CUSTOMIZATION")>]
member this.RemoveAllPeripheralCustomizations : int * int -> unit

Parameters

vendorId
Int32

the vendor ID of the device

productId
Int32

the product ID of the device

Attributes

Remarks

Remove all peripheral customizations for a given vendor ID and product ID.

This will remove all customizations on all connected peripheral devices matching the vendor and product ID. If no customizations exist, this method does nothing. Requires Manifest.permission.MANAGE_PERIPHERAL_CUSTOMIZATION

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

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