FParam

Find Parameters

Constructor
FParam(timeout: number = 0, sRate: number = 3, mScore: number = 0.7)

Construct a Find Parameter

Parameters
timeout Timeout of the find operation in miliseconds
sRate How many scans per second
mScore Minimum score to consider a match

FParam(param: FParam)

Construct a FParam from another FParam

Parameters
param another FParam to copy value from
Static Methods
timeout
static FParam timeout(timeout: number)

Create a FParam with timeout parameter. Other parameter leave default

Parameters
timeout Timeout of the find operation in miliseconds
Return
FParam New instance of FParam
sRate
static FParam sRate(sRate: number)

Create a FParam with sRate parameter. Other parameter leave default

Parameters
sRate How many scans per second
Return
FParam New instance of FParam
mScore
static FParam mScore(mScore: number)

Create a FParam with mScore parameter. Other parameter leave default

Parameters
mScore Minimum score to consider a match
Return
FParam New instance of FParam
Methods
timeout
FParam timeout(timeout: number)

Set timeout to a new value

Parameters
timeout Timeout of the find operation in miliseconds
Return
FParam This FParam instance
sRate
FParam sRate(sRate: number)

Set sRate to a new value

Parameters
sRate How many scans per second
Return
FParam This FParam instance
mScore
FParam mScore(mScore: number)

Set mScore to a new value

Parameters
mScore Minimum score to consider a match
Return
FParam This FParam instance

© 2021 - Macrorify by KoK-CODE