matchLevel method

Class: ImagesCheckSettingsPlatform: ImagesLanguage: Objective-C SDK:

Use this method to set the default match level (the type of matching) to use for this target when matching the captured image to the baseline image.


Call syntax

id<CheckSettingsProtocol> target =  [ obj matchLevel  : matchLevel   ]




Available match level values are: For a description of these match levels and the different ways to apply them to tests, checkpoints, and regions, see Eyes match levels.

Return value

Type: id<CheckSettingsProtocol>
The value returned is the object that called the method. You can use it to call other methods supported by the object class.


The value provided here overrides the default match level, or the global value set for this target using [Eyes matchLevel] or [Configuration matchLevel]. You may only call this method once in a given chain. If you call this method, then you can't call the other match level methods. [ImagesCheckSettings strict][ImagesCheckSettings content][ImagesCheckSettings layout][ImagesCheckSettings exact]

For a full description of the affect of each match levels and the different ways to apply them to tests, checkpoints and regions, How to use Eyes match levels.