Version:
class

OptionalSearchParameters

serves as a data class holding optional parameters for search purposes

typescript
class OptionalSearchParameters<PROVIDER_DATA_TYPE>

Properties

NameTypeDescription
abort?AbortSignalAn to cancel an ongoing call to waitFor
confidence?numberOptional confidence value to configure image or text match confidence
providerData?PROVIDER_DATA_TYPEOptional data that gets passed onto the provider implementation
searchRegion?Region | Promise<Region>Optional to limit the search space to

Was this page helpful?