com.samsung.util
Class SMS

java.lang.Object
  |
  +--com.samsung.util.SMS

public class SMS
extends java.lang.Object

The SMS class contains method for sending message.


Method Summary
static boolean isSupported()
          Gets an information whether GSM Short Message Service is supported by the device.
static void send(com.samsung.util.SM sm)
          Sends a massage.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

isSupported

public static boolean isSupported()
Gets an information whether GSM Short Message Service is supported by the device.

Returns:
true if the SMS is supported.

send

public static void send(com.samsung.util.SM sm)
Sends a massage. There is no response to the sending action even if sending is failed.

Throws:
java.lang.IllegalStateException - Thrown if the device does not support SMS