Group List
Group List

Group List

PTT Pro for Android
sends a broadcast with the following group details after the client successfully logs in.

Prerequisites

  • The minimum required
    PTT Pro for Android
    version is 3.3.10223. 

Intent Definition

Name
Description
Action
com.symbol.wfc.pttpro.GROUP_LIST
Extra
         
userName
String
         
status
Integer
0 = Success
-1 = Error or NA
         
groupList
String
Required to read this when status = 0.
There may be a delay of several seconds between Login Status and the Group List broadcast while
PTT Pro for Android
logs in and updates the group list. In addition, it may take up to four minutes for
PTT Pro for Android
to broadcast new group details when the user is added to a group on the
PTT Pro Server
.

Example

User is not logged in
INTENT_GROUPLIST userName:null status:-1 jsonObjString:null groupListSize:0
User is logged in, but the user is not a member of a group
INTENT_GROUPLIST userName:Luke.Steber status:0 jsonObjString:{"groupList":[]} groupListSize:0
User is logged in and is a member of two groups
INTENT_GROUPLIST userName:Luke.Steber status:0 jsonObjString:{"groupList":[{"gid":8434,"name":"Grocery"},{"gid":8433,"name":"Hardware"}]} groupListSize:2

groupList JSON Example

{ "groupList": [ { "name": "Grocery", "gid": 174401 }, { "name": "Hardware", "gid": 184209 }, { "name": "All.Store", "gid": 8434 }, { "name": "Reception", "gid": 8433 } }