FetchDeviceInfoAction

public final class FetchDeviceInfoAction : AirshipAction

Fetches device info.

Expected argument values: none.

Valid situations: ActionSituation.launchedFromPush, ActionSituation.webViewInvocation, ActionSituation.manualInvocation, ActionSituation.foregroundInteractiveButton, ActionSituation.backgroundInteractiveButton, and ActionSituation.automation

Result value: JSON payload 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”] }