ClassName:BaseLineaccording to this class, you can get or set the status of line.
The line entity class
All
| method | description |
|---|---|
public int getLineId(); |
get line id
Return:int: line idSupported Products:All |
public String getDialId(); |
The dial id, is only set by outgoing line.
Return:String dial idSupported Products:All |
public int getAccountId(); |
Get the id of the account
Return:int The id of the accountSupported Products:All |
public int getCallMode(); |
Get call mode.Refer to {@link PhoneContext.CallMode}
Return:int call modeSupported Products:All |
public int getCallDirection(); |
Get call direction.
Return:int call directionSupported Products:All |
public String getLocalNumber(); |
Get the local number in the line
Return:String: local numberSupported Products:All |
public String getRemoteNumber(); |
Get remote's phone number
Return:String phone numberSupported Products:All |
public String getRemoteName(); |
Get remote's name
Return:String The name of remoteSupported Products:All |
public long getRealStartTime(); |
Get the real start time
Return:long The real start timeSupported Products:All |
public int getStatus(); |
Get line status
Return:int line statusSupported Products:All |
public boolean isOnHold(); |
This line is on hold status.
Return:boolean true or falseSupported Products:All |
public boolean isLocalMuted(); |
Is local on mute status.
Return:boolean true or falseSupported Products:All |
public boolean isRemoteMuted(); |
Is remote on mute status.
Return:boolean true or falseSupported Products:All |
public int getErrCode(); |
Get error code
Return:int error codeSupported Products:All |
public boolean isVideoOn(); |
Is video stream data on flowing
Return:boolean true/falseSupported Products:All |
| Member | description |
|---|