public class OccurrenceMatchingOptions extends BaseComparisonOptions<OccurrenceMatchingOptions>
| Constructor and Description |
|---|
OccurrenceMatchingOptions() |
| Modifier and Type | Method and Description |
|---|---|
java.util.Map<java.lang.String,java.lang.Object> |
build()
Builds a map, which is ready to be passed to the subordinated
Appium API.
|
OccurrenceMatchingOptions |
withThreshold(double threshold)
At what normalized threshold to reject an occurrence.
|
withEnabledVisualizationpublic OccurrenceMatchingOptions withThreshold(double threshold)
threshold - value in range 0..1. 0.5 is the default value.public java.util.Map<java.lang.String,java.lang.Object> build()
BaseComparisonOptionsbuild in class BaseComparisonOptions<OccurrenceMatchingOptions>