Packageat.datacollection.workers
Classpublic class DataWorkerRepbag

This class handles the data collection of repbag items. You need to create an instance of this class and then use it's addRepbagItem inside your function where you handle your repbag item clicks.



Public Methods
 MethodDefined by
  
Constructor.
DataWorkerRepbag
  
addRepbagItem(friendlyName:String, dataWorkerOptions:uint = 0):void
Simply pass a human readable name for the repbag item to be logged into the DataCollection database.
DataWorkerRepbag
Constructor detail
DataWorkerRepbag()constructor
public function DataWorkerRepbag()

Constructor.

Method detail
addRepbagItem()method
public function addRepbagItem(friendlyName:String, dataWorkerOptions:uint = 0):void

Simply pass a human readable name for the repbag item to be logged into the DataCollection database. You will want to do this inside your repbag item click function handler.

Parameters
friendlyName:String — A human readable name for this item. You can simply use the state name for the repbag item.
 
dataWorkerOptions:uint (default = 0) — Defaults to equivlant of DataWorkerOptions.USE_DEFAULTS