TagManager
public class TagManager
Computes and contains positions of tags.
-
An array contains all tags received.
Declaration
Swift
public var allList = [TagData]()
-
An array contains target tags.
Declaration
Swift
public var targetList = [String]()
-
An array contains positions of tags.
Declaration
Swift
public var locationList:[TagLocation] = [TagLocation]()
-
Starts computing positions of tags.
Declaration
Swift
public func start()
-
Stop computing positions of tags.
Declaration
Swift
public func stop()
-
Add tags
Declaration
Swift
public func add(_ tag:TagData)
Parameters
tag
the tag object containning the infomation of tag.
-
Remove all data.
Declaration
Swift
public func removeAll()
-
Adds an epc to the target list.
Declaration
Swift
public func addTarget(epc:String)
-
Removes an epc from the target list.
Declaration
Swift
public func removeTarget(epc:String)
-
Returns an bool value that indicates whether the epc is target or not.
Declaration
Swift
public func isTarget(_ epc:String)->Bool
-
Returns the position of the tag specified.
Declaration
Swift
public func getLocation(_ epc:String) -> TagLocation?
Parameters
epc
an epc code
Return Value
the position