Motorola C381P 用户手册

下载
页码 130
12 
Telephony
 API  
 
58 
startCall 
public void startCall(
String 
telenumber) 
               throws 
IOException 
start a phone call using given telephone number.  
Parameters:  
telenumber 
- the telephone number to be call.  
extNo
 - the extension number to be send.  
Throws:  
IOException
 - if the call could not be created or because of network failure  
NullPointerException 
- if the parameter is null  
SecurityException 
- if the application does not have permission to start the call  
startCall 
public void
 startCall(String 
teleNumber
                      String
 extNo
              
 throws
 IOException 
start a phone call using given telephone number and extension number.  
Parameters:  
telenumber
 - 
the telephone number to be call.
  
extNo
 
- the extension number to be send.  
Throws:  
IOException
 - 
if the call could not be created or because of network failure
  
NullPointerException
 
- if the parameter is null  
SecurityException
 
- if the application does not have permission to start the call  
 
sendExtNo 
public void sendExtNo(
String
 extNumber) 
               throws 
IOException
 
send extension number.  
Parameters:  
sendExtNo
 - the extension number to be send.  
Throws:  
IOException
 - if the extension could not be send or because of network failure