InputManager.GetAllPeripheralCustomizations(Int32, Int32) 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 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.