Status Request
Status Request

Status Request

This intent is used to request a login status update from the Profile Client.

Prerequisites

  • The Profile Client is running.
  • The minimum required Profile Client Android version is 2.0.21200.

Intent Definition

Name
Description
Action
com.zebra.dfs.ACTION_LOGIN_STATUS
Intent Type
broadcast
Extra 0
This extra specifies if the JSON status request information is encrypted. This is an optional parameter.
          Type
Boolean
          Name
json_encrypted
          Value
True
indicates the status request information is encrypted.
False
or absent means the information is not encrypted.
Extra 1
This extra
login_info_status
specifies information necessary to query the client’s login status. See the payload definition below. This extra may or may not be encrypted.
Extra 1 – sent encrypted
This extra specifies the status request information when not encrypted. This is an optional parameter.
                         Type
String
                         Name
login_info_status
                         Value
String in JSON format
Extra 1 – sent encrypted
This extra specifies the status request information when encrypted. This is an optional parameter.
                         Type
Byte array
                         Name
login_info_status
                         Value
See code snippet under Encryption/Decryption

ADB Examples

login_info_status Payload

The
login_info_status
parameter contains JSON formatted data with the following fields:
{ "user_name": "username", //mandatory. "request_id": <unique_number>, //mandatory "package" : "<third_party_package_name>" //mandatory }
If
user_name
does not match with the current logged in user by ignoring the upper/lower case and domain name, Profile Client sends
ERROR_MISMATCH_USERNAME
.