Specifying the number of tags/attempts for STOP_TRIGGER_TYPE in RFID3 SDK

STOP_TRIGGER_TYPE: has a number of useful types which make use of a timeout *and* a number of tags/attempts:

STOP_TRIGGER_TYPE_TAG_OBSERVATION_WITH_TIMEOUT, STOP_TRIGGER_TYPE_N_ATTEMPTS_WITH_TIMEOUT, STOP_TRIGGER_TYPE_ACCESS_N_ATTEMPTS_WITH_TIMEOUT

But — how do I specify the number of tags/attempts? Class StopTrigger has setDurationMilliSeconds, but doesn't seem to have a way to set the number of tags/attempts.

--J.

James Swinton-Bland
Hi Jay,

Hi Jay,

From the docs here: https://techdocs.zebra.com/dcs/rfid/android/2-15/apis/reference/

It looks like you can create an instance of StopTrigger and set the public fields 'numAttempts' and 'TagObservation' to your whatever number you need.

 

Vote: 
Vote up!
Vote down!

Points: 0

You voted ‘up’


Log in to post comments