public class

SmsResult

extends Object
java.lang.Object
   ↳ com.neomades.io.sms.SmsResult

Class Overview

SMS Result object.

Summary

Public Methods
Exception getException()
Returns the associated exception if there is a failure, null otherwise.
Message getMessage()
Returns the associated sent message.
boolean isSuccess()
Returns true if the message has been sent, false if there is an error or has been cancelled.
[Expand]
Inherited Methods
From class java.lang.Object

Public Methods

public Exception getException ()

Returns the associated exception if there is a failure, null otherwise.

Returns
  • the associated exception or null

public Message getMessage ()

Returns the associated sent message.

Returns
  • the sent message

public boolean isSuccess ()

Returns true if the message has been sent, false if there is an error or has been cancelled.

Returns
  • true if the message has been sent.