Language

InputManager.GetAllPeripheralCustomizations(Int32, Int32) Method

Definition

Retrieves all input customizations for a specific peripheral device.

[Android.Runtime.Register("getAllPeripheralCustomizations", "(II)Ljava/util/Map;", "", ApiSince=37)]
[Android.Runtime.RequiresPermission("android.permission.MANAGE_PERIPHERAL_CUSTOMIZATION")]
public System.Collections.Generic.IDictionary<Android.Hardware.Input.CustomizationTrigger,Android.Hardware.Input.CustomizationAction> GetAllPeripheralCustomizations(int vendorId, int productId);
[<Android.Runtime.Register("getAllPeripheralCustomizations", "(II)Ljava/util/Map;", "", ApiSince=37)>]
[<Android.Runtime.RequiresPermission("android.permission.MANAGE_PERIPHERAL_CUSTOMIZATION")>]
member this.GetAllPeripheralCustomizations : int * int -> System.Collections.Generic.IDictionary<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

Returns

A map of triggers to actions, or an empty map if none exists. This value cannot be null.

Attributes

Remarks

Retrieves all input customizations for a specific peripheral device. Requires Manifest.permission.MANAGE_PERIPHERAL_CUSTOMIZATION

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

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