net.rim.blackberry.api.phone
Class AbstractPhoneListener
java.lang.Object
net.rim.blackberry.api.phone.AbstractPhoneListener
- All Implemented Interfaces:
- PhoneListener
public abstract class AbstractPhoneListener
- extends Object
- implements PhoneListener
A helper class defining an empty implementation of the PhoneListener class.
- Category:
- Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
- Since:
- BlackBerry API 4.0.0
Fields inherited from interface net.rim.blackberry.api.phone.PhoneListener |
CALL_ERROR_AUTHORIZATION_FAILURE, CALL_ERROR_CALL_REPLACED_BY_STK, CALL_ERROR_CONGESTION, CALL_ERROR_CONNECTION_DENIED_BY_NETWORK, CALL_ERROR_DUE_TO_FADING, CALL_ERROR_EMERGENCY_CALLS_ONLY, CALL_ERROR_FDN_MISMATCH, CALL_ERROR_GENERAL, CALL_ERROR_HOLD_ERROR, CALL_ERROR_INCOMING_CALL_BARRED, CALL_ERROR_LOST_DUE_TO_FADING, CALL_ERROR_MAINTENANCE_REQUIRED, CALL_ERROR_NUMBER_NOT_IN_SERVICE, CALL_ERROR_NUMBER_UNOBTAINABLE, CALL_ERROR_OUTGOING_CALLS_BARRED, CALL_ERROR_PLEASE_TRY_LATER, CALL_ERROR_RADIO_PATH_UNAVAILABLE, CALL_ERROR_SERVICE_CONFLICT, CALL_ERROR_SERVICE_NOT_AVAILABLE, CALL_ERROR_STK_CALL_NOT_ALLOWED, CALL_ERROR_SUBSCRIBER_BUSY, CALL_ERROR_SYSTEM_BUSY_TRY_LATER, CALL_ERROR_TRY_AGAIN, CALL_ERROR_USER_BUSY_IN_DATA, CALL_ERROR_USER_BUSY_IN_PRIVATE, CALL_ERROR_USER_NOT_AUTHORIZED, CALL_ERROR_USER_NOT_AVAILABLE, CALL_ERROR_USER_NOT_REACHABLE, CALL_ERROR_USER_UNKNOWN |
Method Summary |
|
void |
callAdded(int callId)
Invoked when a call gets added to a conference call. |
|
void |
callAnswered(int callId)
Invoked when the user answers a call (user driven). |
|
void |
callConferenceCallEstablished(int callId)
Invoked when a conference call has been established. |
|
void |
callConnected(int callId)
Invoked when the network indicates a connected event (network driven). |
|
void |
callDirectConnectConnected(int callId)
Invoked when a direct-connect call is connected. |
|
void |
callDirectConnectDisconnected(int callId)
Invoked when a direct-connect call is disconnected. |
|
void |
callDisconnected(int callId)
Invoked when a call is disconnected. |
|
void |
callEndedByUser(int callId)
Invoked when the user ends the call. |
|
void |
callFailed(int callId,
int reason)
Invoked when a call fails. |
|
void |
callHeld(int callId)
Invoked when a call goes into the 'held' state. |
|
void |
callIncoming(int callId)
Invoked when a new call is arriving. |
|
void |
callInitiated(int callid)
Invoked when a call has been initiated by the device (outbound). |
|
void |
callRemoved(int callId)
Invoked when a call gets removed from a conference call. |
|
void |
callResumed(int callId)
Invoked when a call goes from 'held' to 'resumed' state. |
|
void |
callWaiting(int callid)
Invoked when a call is waiting. |
|
void |
conferenceCallDisconnected(int callId)
Invoked when a conference call is terminated (all members
disconnected). |
AbstractPhoneListener
protected AbstractPhoneListener()
- Creates a new AbstractPhoneListener instance.
- Category:
- Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
- Since:
- BlackBerry API 5.0.0
callInitiated
public void callInitiated(int callid)
- Description copied from interface:
PhoneListener
- Invoked when a call has been initiated by the device (outbound).
- Specified by:
callInitiated
in interface PhoneListener
- Parameters:
callid
- ID for the call.- Category:
- Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
- Since:
- BlackBerry API 4.0.0
callWaiting
public void callWaiting(int callid)
- Description copied from interface:
PhoneListener
- Invoked when a call is waiting.
- Specified by:
callWaiting
in interface PhoneListener
- Parameters:
callid
- ID for the call.- Category:
- Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
- Since:
- BlackBerry API 4.0.0
callIncoming
public void callIncoming(int callId)
- Description copied from interface:
PhoneListener
- Invoked when a new call is arriving.
- Specified by:
callIncoming
in interface PhoneListener
- Parameters:
callId
- ID for the call.- Category:
- Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
- Since:
- BlackBerry API 4.0.0
callAnswered
public void callAnswered(int callId)
- Description copied from interface:
PhoneListener
- Invoked when the user answers a call (user driven).
- Specified by:
callAnswered
in interface PhoneListener
- Parameters:
callId
- ID for the call.- Category:
- Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
- Since:
- BlackBerry API 4.0.0
callConnected
public void callConnected(int callId)
- Description copied from interface:
PhoneListener
- Invoked when the network indicates a connected event (network driven).
- Specified by:
callConnected
in interface PhoneListener
- Parameters:
callId
- ID for the call.- Category:
- Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
- Since:
- BlackBerry API 4.0.0
callConferenceCallEstablished
public void callConferenceCallEstablished(int callId)
- Description copied from interface:
PhoneListener
- Invoked when a conference call has been established.
- Specified by:
callConferenceCallEstablished
in interface PhoneListener
- Parameters:
callId
- ID for the call (currently always 0).- Category:
- Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
- Since:
- BlackBerry API 4.0.0
conferenceCallDisconnected
public void conferenceCallDisconnected(int callId)
- Description copied from interface:
PhoneListener
- Invoked when a conference call is terminated (all members
disconnected).
- Specified by:
conferenceCallDisconnected
in interface PhoneListener
- Parameters:
callId
- ID for the disconnected call (currently always 0).- Category:
- Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
- Since:
- BlackBerry API 4.0.0
callDisconnected
public void callDisconnected(int callId)
- Description copied from interface:
PhoneListener
- Invoked when a call is disconnected.
- Specified by:
callDisconnected
in interface PhoneListener
- Parameters:
callId
- ID for the disconnected call.- Category:
- Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
- Since:
- BlackBerry API 4.0.0
callDirectConnectConnected
public void callDirectConnectConnected(int callId)
- Description copied from interface:
PhoneListener
- Invoked when a direct-connect call is connected.
- Specified by:
callDirectConnectConnected
in interface PhoneListener
- Parameters:
callId
- ID for the direct-connect call.- Category:
- Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
- Since:
- BlackBerry API 4.0.0
callDirectConnectDisconnected
public void callDirectConnectDisconnected(int callId)
- Description copied from interface:
PhoneListener
- Invoked when a direct-connect call is disconnected.
- Specified by:
callDirectConnectDisconnected
in interface PhoneListener
- Parameters:
callId
- ID for the disconnected direct-connect call.- Category:
- Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
- Since:
- BlackBerry API 4.0.0
callEndedByUser
public void callEndedByUser(int callId)
- Description copied from interface:
PhoneListener
- Invoked when the user ends the call.
- Specified by:
callEndedByUser
in interface PhoneListener
- Parameters:
callId
- ID for the terminated call.- Category:
- Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
- Since:
- BlackBerry API 4.0.0
callFailed
public void callFailed(int callId,
int reason)
- Description copied from interface:
PhoneListener
- Invoked when a call fails.
- Specified by:
callFailed
in interface PhoneListener
- Parameters:
callId
- ID for the failed call.reason
- CALL_ERROR_* code describing the reason for the failure.- Category:
- Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
- Since:
- BlackBerry API 4.0.0
callResumed
public void callResumed(int callId)
- Description copied from interface:
PhoneListener
- Invoked when a call goes from 'held' to 'resumed' state.
- Specified by:
callResumed
in interface PhoneListener
- Parameters:
callId
- ID for the resumed call.- Category:
- Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
- Since:
- BlackBerry API 4.0.0
callHeld
public void callHeld(int callId)
- Description copied from interface:
PhoneListener
- Invoked when a call goes into the 'held' state.
- Specified by:
callHeld
in interface PhoneListener
- Parameters:
callId
- ID for the held call.- Category:
- Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
- Since:
- BlackBerry API 4.0.0
callAdded
public void callAdded(int callId)
- Description copied from interface:
PhoneListener
- Invoked when a call gets added to a conference call.
- Specified by:
callAdded
in interface PhoneListener
- Parameters:
callId
- ID for the added call.- Category:
- Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
- Since:
- BlackBerry API 4.0.0
callRemoved
public void callRemoved(int callId)
- Description copied from interface:
PhoneListener
- Invoked when a call gets removed from a conference call.
- Specified by:
callRemoved
in interface PhoneListener
- Parameters:
callId
- ID for the removed call.- Category:
- Signed: This element is only accessible by signed applications. If you intend to use this element, please visit http://www.blackberry.com/go/codesigning to obtain a set of code signing keys. Code signing is only required for applications running on BlackBerry smartphones; development on BlackBerry Smartphone Simulators can occur without code signing.
- Since:
- BlackBerry API 4.0.0
Copyright 1999-2010 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Copyright 1993-2003 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, California, 94303, U.S.A. All Rights Reserved.
Copyright 2002-2003 Nokia Corporation All Rights Reserved.
Java is a trademark of Sun Microsystems, Inc.