public final class PatternRecognizer extends Recognizer
Modifier and Type | Class and Description |
---|---|
static class |
PatternRecognizer.Builder |
type
Modifier and Type | Method and Description |
---|---|
static PatternRecognizer.Builder |
builder() |
boolean |
equals(Object o) |
List<String> |
getActions()
The actions to consider in this pattern recognizer.
|
PatternRecognizerAnchorType |
getAnchor()
Get anchor
|
Boolean |
getFuzzy()
When true, the recognizer will ignore additional events that occur between the events specified in the pattern.
|
List<String> |
getGadgetIds()
The gadget IDs of the Echo Buttons to consider in this pattern recognizer.
|
List<Pattern> |
getPattern()
An object that provides all of the events that need to occur, in a specific order, for this recognizer to be true.
|
int |
hashCode() |
String |
toString() |
getType
public static PatternRecognizer.Builder builder()
public PatternRecognizerAnchorType getAnchor()
public Boolean getFuzzy()
public List<String> getGadgetIds()
public List<String> getActions()
public List<Pattern> getPattern()
public boolean equals(Object o)
equals
in class Recognizer
public int hashCode()
hashCode
in class Recognizer
public String toString()
toString
in class Recognizer
Copyright © 2023. All rights reserved.