com.gs.phone.entity

BaseLine

ClassName:BaseLine
according to this class, you can get or set the status of line.

The line entity class


Supported Products:

All


Detail

Method

method description
public int getLineId(); get line id

Return:

int: line id

Supported Products:

All

public String getDialId(); The dial id, is only set by outgoing line.

Return:

String dial id

Supported Products:

All

public int getAccountId(); Get the id of the account

Return:

int The id of the account

Supported Products:

All

public int getCallMode(); Get call mode.Refer to {@link PhoneContext.CallMode}

Return:

int call mode

Supported Products:

All

public int getCallDirection(); Get call direction.

Return:

int call direction

Supported Products:

All

public String getLocalNumber(); Get the local number in the line

Return:

String: local number

Supported Products:

All

public String getRemoteNumber(); Get remote's phone number

Return:

String phone number

Supported Products:

All

public String getRemoteName(); Get remote's name

Return:

String The name of remote

Supported Products:

All

public long getRealStartTime(); Get the real start time

Return:

long The real start time

Supported Products:

All

public int getStatus(); Get line status

Return:

int line status

Supported Products:

All

public boolean isOnHold(); This line is on hold status.

Return:

boolean true or false

Supported Products:

All

public boolean isLocalMuted(); Is local on mute status.

Return:

boolean true or false

Supported Products:

All

public boolean isRemoteMuted(); Is remote on mute status.

Return:

boolean true or false

Supported Products:

All

public int getErrCode(); Get error code

Return:

int error code

Supported Products:

All

public boolean isVideoOn(); Is video stream data on flowing

Return:

boolean true/false

Supported Products:

All


Member & Constant

Member description