com.gs.calllog.context

CallLogContext.CallLogItem

Useful column names for CRUD call logs. All these column are belong to the calls table. More information about Android native columns of the calls refer to {@link android.provider.CallLog.Calls}

Supported Products:

All


Detail

Method

method description

Member & Constant

Member description
public static final String ITEM_ACCOUNT New column.The local account ID of a call.
Type: INTEGER (long).

Supported Products:

All

public static final String ITEM_CALL_TYPE Same as{@See android.provider.CallLog.Calls#TYPE}.The value of this column defined in {@link CallLogType} Type: INTEGER (int)

Supported Products:

GXV3350, GXV3370, GXV3380, WP820

public static final String ITEM_CALL_MODE New column. Call mode of a call.The value of this column defined in {@link com.gs.phone.context.PhoneContext.CallMode} Type: INTEGER (int)

Supported Products:

All

public static final String ITEM_START_TIME The date the call occured, in milliseconds since the epoch.
Type: INTEGER (long).
Same as {@See android.provider.CallLog.Calls#DATE}.

Supported Products:

All

public static final String ITEM_END_TIME New column. The date the call session ended, in milliseconds since the epoch.
Type: INTEGER (long).

Supported Products:

All

public static final String ITEM_DURATION The duration of the call in seconds.
Type: INTEGER (long)
{@See android.provider.CallLog.Calls#DURATION}

Supported Products:

All

public static final String ITEM_CACHE_NAME The cached name, if it exists. It can be different from {@link #ITEM_CONTACT_CACHE_NAME}
Type: TEXT

Supported Products:

All

public static final String ITEM_CONFERENCE_ROOM_ID the conference room id
Type: TEXT

Supported Products:

H60

public static final String ITEM_CONTACT_CACHE_NAME New column. The cached contact name associated with the phone number, if it exists. In general, in android native system, a call log cache name is the same as the contact name of the number. If the contact name is not exist, it will be displayed as the phone number. But in GS phone system, a call log cache name can be defined differently from the contact name. It is called 'display name' and can be set at the account settings page on the device main web. So we save 'display name' in {@link #ITEM_CACHE_NAME} column. And save the contact name in this column. Then a call log will be displayed as the 'display name' firstly, if it is not exist, then the contact name will be displayed, if the contact name is not exist still,then originNumber will be displayed finally.
Type: TEXT

Supported Products:

All

public static final String ITEM_NUMBER The real number used on line. It is different from {@link #ITEM_NUMBER_ORIGINAL}
Type: TEXT

Supported Products:

All

public static final String ITEM_NUMBER_ORIGINAL New column.The phone number as the user entered it. In general, in android native system, the real number used on line is the same as the input phone number . And the column {@link android.provider.CallLog.Calls#NUMBER} is used for saving the number. But in GS phone system, the real number used on line may be different from the origin input number. It depends on {@link #ITEM_CALL_MODE}. So we save the origin input number in this column. And save the real number used on line in {@link #ITEM_NUMBER} column.
Type: TEXT

Supported Products:

All

public static final String ITEM_NEW Whether or not the call has been acknowledged.
Type: INTEGER (boolean)

Supported Products:

All

public static final String ITEM_MEDIA_TYPE New column. The media type of the call (audio or video). Type: INTEGER (int)

Supported Products:

All

public static final String ITEM_ID The unique ID for a row. {@see android.provider.CallLog.Calls#_ID} Type: INTEGER (long)

Supported Products:

All

public static final String ITEM_GROUP_ID New column. The ID of a conference. If the call is not belong to a conference, the column value will be {@link #UNKNOWN}.
This column is supported in GXV32xx, but not in WP820.
Type: INTEGER (long)

Supported Products:

All

public static final String ITEM_IS_IN_CONFERENCE New column. Mark weather a call is belong to a conference(1 or 0).
This column is supported in GXV32xx, but not in WP820.
Type: INTEGER (int)

Supported Products:

All

public static final String ITEM_MAX_ID A column for the sql statement like "select * ,max(_id) as max from table group by number"
Type: INTEGER (int)

Supported Products:

All