DeviceGestureCapability

public final class DeviceGestureCapability


Represents the hardware gesture capabilities of a specific device. Encapsulates a map of gesture action IDs to their corresponding GestureAvailability.

Summary

Public constructors

Constructs a new DeviceGestureCapability.

Public methods

boolean
@NonNull ImmutableMap<Integer, GestureAvailability>

Returns the map of gesture action IDs to their corresponding GestureAvailability.

int
@NonNull String

Public constructors

DeviceGestureCapability

public DeviceGestureCapability(
    @NonNull Map<Integer, GestureAvailability> gestureMap
)

Constructs a new DeviceGestureCapability.

Parameters
@NonNull Map<Integer, GestureAvailability> gestureMap

A map of gesture action IDs to their corresponding GestureAvailability.

Public methods

equals

public boolean equals(@Nullable Object o)

getCapabilities

public @NonNull ImmutableMap<Integer, GestureAvailability> getCapabilities()

Returns the map of gesture action IDs to their corresponding GestureAvailability.

hashCode

public int hashCode()

toString

public @NonNull String toString()