public class GsmCdmaCall extends Call
Call.SrvccState, Call.State
LOG_TAG, mConnections, mState
Constructor and Description |
---|
GsmCdmaCall(GsmCdmaCallTracker owner)
Constructors
|
Modifier and Type | Method and Description |
---|---|
void |
attach(Connection conn,
DriverCall dc) |
void |
attachFake(Connection conn,
Call.State state) |
boolean |
connectionDisconnected(GsmCdmaConnection conn)
Called by GsmCdmaConnection when it has disconnected
|
void |
detach(GsmCdmaConnection conn) |
List<Connection> |
getConnections()
Overridden from Call
|
Phone |
getPhone() |
void |
hangup()
Please note: if this is the foreground call and a
background call exists, the background call will be resumed
because an AT+CHLD=1 will be sent
|
boolean |
isMultiparty() |
String |
toString()
Returns a string representation of the object.
|
clearDisconnected, getConferenceParticipants, getEarliestConnection, getEarliestConnectTime, getEarliestCreateTime, getLatestConnection, getState, hangupIfAlive, hasConnection, hasConnections, isDialingOrAlerting, isIdle, isRinging, setState, stateFromDCState
public GsmCdmaCall(GsmCdmaCallTracker owner)
public List<Connection> getConnections()
getConnections
in class Call
public boolean isMultiparty()
isMultiparty
in class Call
public void hangup() throws CallStateException
hangup
in class Call
CallStateException
public String toString()
Object
toString
method returns a string that
"textually represents" this object. The result should
be a concise but informative representation that is easy for a
person to read.
It is recommended that all subclasses override this method.
The toString
method for class Object
returns a string consisting of the name of the class of which the
object is an instance, the at-sign character `@
', and
the unsigned hexadecimal representation of the hash code of the
object. In other words, this method returns a string equal to the
value of:
getClass().getName() + '@' + Integer.toHexString(hashCode())
public void attach(Connection conn, DriverCall dc)
public void attachFake(Connection conn, Call.State state)
public boolean connectionDisconnected(GsmCdmaConnection conn)
public void detach(GsmCdmaConnection conn)