public class SMSManager
extends java.lang.Object
Constructor and Description |
---|
SMSManager() |
Modifier and Type | Method and Description |
---|---|
static void |
sendSMS(Contact contact,
java.lang.String messageText)
Sends sms message.
|
static void |
sendSMS(javax.swing.JComponent invoker,
java.util.List<UIContactDetail> additionalNumbers,
java.lang.String messageText,
ChatPanel chatPanel)
Sends sms, chooses phone and chooses provider and sends the sms.
|
static void |
sendSMS(javax.swing.JComponent invoker,
java.lang.String to)
Sends sms, chooses provider and sends the sms.
|
static void |
sendSMS(ProtocolProviderService protocolProviderService,
java.lang.String to,
java.lang.String messageText)
Sends sms message.
|
static void |
sendSMS(java.lang.String phoneNumber,
java.lang.String message,
ChatTransport chatTransport,
ChatPanel chatPanel)
Sends sms message using chatTransport otherwise.
|
public static void sendSMS(javax.swing.JComponent invoker, java.lang.String to)
invoker
- the component invoker, used to get correct location
to show popup for choosing provider.to
- the destination numberpublic static void sendSMS(ProtocolProviderService protocolProviderService, java.lang.String to, java.lang.String messageText) throws java.lang.Exception
protocolProviderService
- to
- the receive numbermessageText
- the textjava.lang.Exception
public static void sendSMS(Contact contact, java.lang.String messageText) throws java.lang.Exception
contact
- the contact to send sms tomessageText
- the text.java.lang.Exception
public static void sendSMS(javax.swing.JComponent invoker, java.util.List<UIContactDetail> additionalNumbers, java.lang.String messageText, ChatPanel chatPanel)
invoker
- the component invoker, used to get correct location
to show popup for choosing provider.additionalNumbers
- the destination numbers to choose frompublic static void sendSMS(java.lang.String phoneNumber, java.lang.String message, ChatTransport chatTransport, ChatPanel chatPanel)
phoneNumber
- message
- chatTransport
- the transport to use if protocol provider missingchatPanel
- the panel where the message is sent, will be used for
success or fail messages
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.