FetchDeviceInfoAction
Action to fetch a map of device properties.
Accepted situations: all.
Accepted argument value - none.
Result value: JsonMap containing the device's channel ID, named user ID, push opt-in status, location enabled status, and tags. An example response as JSON:
{
"channel_id": "9c36e8c7-5a73-47c0-9716-99fd3d4197d5",
"push_opt_in": true,
"location_enabled": true,
"named_user": "cool_user",
"tags": ["tag1", "tag2, "tag3"]
}
Content copied to clipboard
Default Registration Names: DEFAULT_REGISTRY_NAME, DEFAULT_REGISTRY_SHORT_NAME
Default Registration Predicate: only accepts SITUATION_WEB_VIEW_INVOCATION and SITUATION_MANUAL_INVOCATION
Types
Link copied to clipboard
Default FetchDeviceInfoAction predicate.
Properties
Link copied to clipboard
Channel ID response key.
Link copied to clipboard
Default registry name
Link copied to clipboard
Default registry short name
Link copied to clipboard
Location enabled response key.
Link copied to clipboard
Named user response key.
Link copied to clipboard
Push opt-in response key.
Inherited properties
Link copied to clipboard
Situation where an action is triggered from Action Automation.
Link copied to clipboard
Situation where an action is triggered from a background notification action button.
Link copied to clipboard
Situation where an action is triggered from a foreground notification action button.
Link copied to clipboard
Situation where an action is manually invoked.
Link copied to clipboard
Situation where an action is triggered when a push is opened.
Link copied to clipboard
Situation where an action is triggered when a push is received.
Link copied to clipboard
Situation where an action is triggered from a web view.
Inherited functions
Link copied to clipboard
Called before an action is performed to determine if the the action can accept the arguments.
Link copied to clipboard
Called after the action performs.
Link copied to clipboard
Called before an action is performed.
Link copied to clipboard
Determines which thread runs the action.