Android.Views.InputDevice.Descriptor Property
Gets the input device descriptor, which is a stable identifier for an input device.

Syntax

[get: Android.Runtime.Register("getDescriptor", "()Ljava/lang/String;", "GetGetDescriptorHandler")]
public string Descriptor { get; }

Value

Documentation for this section has not yet been entered.

Remarks

Gets the input device descriptor, which is a stable identifier for an input device.

An input device descriptor uniquely identifies an input device. Its value is intended to be persistent across system restarts, and should not change even if the input device is disconnected, reconnected or reconfigured at any time.

It is possible for there to be multiple Android.Views.InputDevice instances that have the same input device descriptor. This might happen in situations where a single human input device registers multiple Android.Views.InputDevice instances (HID collections) that describe separate features of the device, such as a keyboard that also has a trackpad. Alternately, it may be that the input devices are simply indistinguishable, such as two keyboards made by the same manufacturer.

The input device descriptor returned by InputDevice.Descriptor should only be used when an application needs to remember settings associated with a particular input device. For all other purposes when referring to a logical Android.Views.InputDevice instance at runtime use the id returned by InputDevice.Id.

[Android Documentation]

Requirements

Namespace: Android.Views
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 16