public final class SmsFactory extends Object
Constructor and Description |
---|
SmsFactory() |
Modifier and Type | Method and Description |
---|---|
static SmsRequest |
createSmsRequest(List recipients,
String message)
Creates an SmsRequest object, when the SMS will be sent to multiple
recipients.
|
static SmsRequest |
createSmsRequest(String recipient,
String message)
Creates an SmsRequest object, when the SMS will be sent to a single
recipient.
|
public static SmsRequest createSmsRequest(String recipient, String message)
recipient
- The recipient for the SmsRequest (e.g., 17205551212)message
- The body of the text message (e.g., "Hello World!")public static SmsRequest createSmsRequest(List recipients, String message)
recipients
- The recipients for the SmsRequest (e.g., 17205551212)message
- The body of the text message (e.g., "Hello world!")Copyright © 2014 Avaya. All Rights Reserved.