These methods discussed in this section implement the shopper help functionality that connects IUA and ASA. ASA listens to the events from these methods to update the repository that is tracks the shopper’s help requests. Alternately, ASA can use the Mobile.DCS-CSR
module to extend BeaconManager
and these methods can record the information directly.
BeaconManager:requestHelp
URL |
|
Method |
|
Inputs |
|
Output | None |
Description | Notifies the system that the given device has initiated a help request and the given beacon UUID/major/minor is the one last seen at the time of the request. A Map of form parameters such as |
BeaconManager:cancelHelp
URL |
|
Method |
|
Inputs |
|
Output | None |
Description | Notifies the systems the given device has cancelled the help request, either user or time-out initiated. |
DeviceManager:createOrUpdateDevice
URL |
|
Method |
|
Inputs | uniqueId:String, pushToken:String, os:String, osVersion:String, app:String, appVersion:String |
Output | RepositoryItem (device) |
Description | This method records information about the device in the device repository. If the device for the given |
DeviceManager:setDevicePushToken
URL |
|
Method |
|
Inputs | uniqueId:String, pushToken:String, |
Output |
|
Description | This method sets the device push token for the given device. The push token is the token needed by services that want to send a push notification to a given device. |