Class BaseComparisonOptions<T extends BaseComparisonOptions<T>>
- java.lang.Object
-
- io.appium.java_client.imagecomparison.BaseComparisonOptions<T>
-
- Direct Known Subclasses:
FeaturesMatchingOptions
,OccurrenceMatchingOptions
,SimilarityMatchingOptions
public abstract class BaseComparisonOptions<T extends BaseComparisonOptions<T>> extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description BaseComparisonOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.T
withEnabledVisualization()
Makes the endpoint to return an image, which contains the visualized result of the corresponding picture matching operation.
-
-
-
Method Detail
-
withEnabledVisualization
public T withEnabledVisualization()
Makes the endpoint to return an image, which contains the visualized result of the corresponding picture matching operation. This option is disabled by default.- Returns:
- self instance for chaining
-
build
public java.util.Map<java.lang.String,java.lang.Object> build()
Builds a map, which is ready to be passed to the subordinated Appium API.- Returns:
- comparison options mapping.
-
-