|
Status
|
Description
|
||
|---|---|---|---|
|
normal
|
The target is being tracked and indicates normal operation.
|
||
|
extended
|
The target is being tracked indirectly. It is either out of view, occluded, too far, or too close to be tracked directly.
|
||
|
limited
|
The target is being tracked but with very low accuracy.
|
||
|
limited_excessive_motion
|
Tracking is limited because the device is being moved too quickly.
|
||
|
limited_insufficient_light
|
Tracking is limited because of poor lighting conditions.
|
|
Parameter
|
Description
|
||
|---|---|---|---|
|
event
|
The event object. This contains the trackingstatuschanged string for the name property.
|
||
|
target
|
Name or ID of the target.
|
||
|
tmlNodeName
|
Type of the object. The value will be twx-dt-target for this event.
|
||
|
args
|
String that includes the JSON event data.
|
$scope.$on("trackingstatuschanged", function (event, target, tmlNodeName, args) {
trackingStatus = JSON.parse(args).trackingStatus;
console.log("Tracking Status Changed Script: event: " + event.name + ", target: " + target + ", tmlNodeName: " + tmlNodeName + ", args:" + args + ", trackingStatus: " + trackingStatus);
});
Tracking Status Changed Script: event: trackingstatuschanged, target: 740de1d2-6202-45ab-94db-1056ecf2244b, tmlNodeName: twx-dt-target, args:{"trackingStatus":"extended"}, trackingStatus: extended