OFFLINE
channel. These blocks may make use of the Expression Specification for generating output.SmartDevices
SmartDevices.LocationResponse
OFFLINE
, RICH_MESSAGING
config
prompt
(resource)accuracy_threshold_meters
(number, optional, default 5.0)accuracy_timeout_seconds
(number, optiona, default 120)OFFLINE
: This block first queries the device's in-built GPS capability to return the current GPS location of the device. If the device is not GPS capable, the block presents the user with a map and waits for them to choose their location. If the device is GPS capable but location services are disabled, the device may prompt the user to enable location services. This block then waits to receive a location via manual selection or from the location service that meets the accuracy threshold. (No selection provided or unable to capture the required accuracy: proceed through the default exit.)RICH_MESSAGING
: This block prompts the Contact for permission to access their location from their device, or choose a location manually, and waits for a compatible response. (No selection provided or unable to capture the required accuracy: proceed through the default exit.)name
of the block. The format of the coordinates is an array of 4 floating point numbers: latitude, longitude, elevation (in meters), and accuracy (in meters):SmartDevices.PhotoResponse
OFFLINE
config
prompt
(resource)OFFLINE
, RICH_MESSAGING
: This block first prompts the user to activate the camera on the device and waits for the user to take a picture, or select a saved picture on the device. (No picture selected or captured: proceed through the default exit.)name
of the block.