Send a PTT Message
Send a PTT Message

Send a PTT Message

This intent is used to send a PTT message to a group or to one or more users.

Prerequisites

  • When initiating a message to a group, the group must be defined in the
    PTT Pro Server
    , and the initiating PTT Pro user (i.e., the target of the intent) must be a member of the group.
  • When initiating a call to one or more users, the usernames(s) must be defined in the
    PTT Pro Server
    .
  • The minimum required
    PTT Pro for Android
    version is 3.3.10134.

Intent Definition

Name
Description
Action
com.symbol.wfc.pttpro.ACTION_PTT_PRO_MESSAGE
Intent Type
broadcast
Extra 0
This extra defines whether the call is targeted to a group or a user. This is a mandatory parameter
          Type
Integer
          Name
recipientType
          Value
1
to target the call to a group.
0
to target the call to 1 or more users.
Extra 1
         Type
String
          Name
message
          Value
Text string containing the message.

ADB Examples

Sending to a group:
adb shell am broadcast -a com.symbol.wfc.pttpro.ACTION_PTT_PRO_MESSAGE --ei recipientType 1 --es recipientName staff_admin' --es message 'Team meeting at 4pm'
Sending to a user:
adb shell am broadcast -a com.symbol.wfc.pttpro.ACTION_PTT_PRO_MESSAGE --ei recipientType 0 --es recipientName 'george.shaw' --es message 'Review tomorrow is cancelled'
Sending to multiple users:
adb shell am broadcast -a com.symbol.wfc.pttpro.ACTION_PTT_PRO_MESSAGE --ei recipientType 0 --es recipientName 'george.shaw,ira.gershwin,cole.porter' --es message 'Review tomorrow is cancelled'