java.lang.Object | |
↳ | com.neomades.io.sms.SmsManager |
Manages SMS operations such as sending data, text, and pdu SMS messages.
To use this class, the SEND_SMS permission must be declared in the URS file.
Get this object by calling the static method getDefault()
.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
static SmsManager |
getDefault()
Get the default instance of the SmsManager.
| ||||||||||
void |
send(Message message)
Send a SMS.
| ||||||||||
void |
send(Message message, SmsResultListener resultListener)
Send a SMS.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Get the default instance of the SmsManager.
Send a SMS.
message | message to send |
---|
IllegalArgumentException | if the message parameter is not a TextMessage
|
---|
Send a SMS.
message | message to send |
---|---|
resultListener | callback to listen result of message sending |
IllegalArgumentException | if the message parameter is not a TextMessage
|
---|