public final class Tilt


Represents the vertical tilt state of the device.

Summary

Public fields

static final @NonNull Tilt

The device is tilted downwards, surpassing the defined lower threshold.

static final @NonNull Tilt

The device is tilted upwards, surpassing the defined upper threshold.

Public methods

@NonNull String

Public fields

DOWN

public static final @NonNull Tilt DOWN

The device is tilted downwards, surpassing the defined lower threshold.

UP

public static final @NonNull Tilt UP

The device is tilted upwards, surpassing the defined upper threshold.

Public methods

toString

public @NonNull String toString()