Interface SmsClient

All Known Implementing Classes:
DummySmsClient, WebsmsSmsClient

public interface SmsClient
This interface declares the methods which every SMS client needs to implement
  • Method Details

    • getName

      String getName()
    • sendSms

      SmsClient.SmsResponse sendSms(SmsClient.Sms sms, boolean simulateSms)
    • checkSmsResponse

      boolean checkSmsResponse(SmsClient.SmsResponse smsResponse)
      Checks whether ths sms has been sent correctly or not.
      Returns:
      true if the sms has been sent correctly.
    • checkSmsRecipient

      boolean checkSmsRecipient(Entity smsRecipient)
      Checks whether the given entity is a valid sms recipient for this SmsClient or not
      Returns:
      true if the given entity is a valid sms recipient