12

Telephony API

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

58

Page 58
Image 58
Motorola C381P technical manual StartCall, SendExtNo, Throws