Tapper.Status

public enum Tapper.Status


The result of the tap.

Summary

Enum Values

FAILURE

Injecting the event was a complete failure.

SUCCESS

The Tap action completed successfully.

WARNING

The action seemed to have completed - but may have been misinterpreted by the application.

Public methods

static Tapper.Status

Returns the enum constant of this type with the specified name.

static Tapper.Status[]

Returns an array containing the constants of this enum type, in the order they're declared.

Enum Values

FAILURE

Tapper.Status Tapper.Status.FAILURE

Injecting the event was a complete failure.

SUCCESS

Tapper.Status Tapper.Status.SUCCESS

The Tap action completed successfully.

WARNING

Tapper.Status Tapper.Status.WARNING

The action seemed to have completed - but may have been misinterpreted by the application. (For Example a TAP became a LONG PRESS by measuring its time between the down and up events).

Public methods

valueOf

public static Tapper.Status valueOf(String name)

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Returns
Tapper.Status

the enum constant with the specified name

Throws
java.lang.IllegalArgumentException java.lang.IllegalArgumentException

if this enum type has no constant with the specified name

values

public static Tapper.Status[] values()

Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.

Returns
Tapper.Status[]

an array containing the constants of this enum type, in the order they're declared