com.siemens.mp.gsm
Class Call
java.lang.Object
com.siemens.mp.gsm.Call
- public class Call
- extends Object
Allows to make an outgoing call to some phone number.
Example
Constructor Summary |
Call()
|
Method Summary |
static void |
start(String number)
Starts a phone call.
|
Call
public Call()
start
public static void start(String number)
throws NotAllowedException
- Starts a phone call.
IMPORTANT NOTE: The java application will terminate upon performing this method call.
- Parameters:
number
- a phone number to dial
- Throws:
IllegalArgumentException
- if a phone number is entered in the wrong format or is missing in method call
NotAllowedException
- if the call is not allowed
Example