Event Name
(evt.name)
|
Description
|
Arguments and Usage Notes
|
Example
|
||
(servicename)-begin
|
Triggered by start of a ThingWorx service defined in the Vuforia Studio project.
|
No arguments returned, only event.name.
|
$scope.$root.$on('myTWXService-begin', function(evt, arg) { $scope.view.wdg['label-1']['text'] = $scope.view.wdg['label-1']['text'] + " event name: " + evt.name;});
|
||
(servicename)-complete
|
Triggered by successful completion of a ThingWorx service defined in the Vuforia Studio project.
|
See modelLoaded
|
See (servicename)-begin
|
||
(servicename)-end
|
Triggered by completion of a ThingWorx service (successful or unsuccessful).
|
Arguments returned include: event (name), target (model-1, modelItem-1, or 3DImage-1, etc.), parent (null), edata (JSON object containing occurrence property value for model items as defined in the PVZ. For example, /0/0/18)
|
See (servicename)-begin
|
||
(servicename)-failed
|
Triggered by failure when calling a ThingWorx service.
|
Event includes the widget’s Studio ID in tergetScope._widgetId. No args data returned.
|