public class CallLogEntry extends Object
| Modifier and Type | Field and Description |
|---|---|
int |
direction |
int |
duration |
static int |
INCOMING_TYPE |
static int |
MISSED_TYPE |
String |
number |
static int |
OUTGOING_TYPE |
Date |
time |
| Constructor and Description |
|---|
CallLogEntry(String number,
int duration) |
CallLogEntry(String number,
int duration,
Date time,
int direction)
Number of caller.
|
| Modifier and Type | Method and Description |
|---|---|
static CallLogEntry |
fromJson(String jsonString) |
Date |
getDate() |
int |
getDirection() |
int |
getDuration() |
String |
getNumber() |
String |
toJSON() |
public String number
public int duration
public Date time
public int direction
public static final int INCOMING_TYPE
public static final int OUTGOING_TYPE
public static final int MISSED_TYPE
public CallLogEntry(String number, int duration)
public static CallLogEntry fromJson(String jsonString)
public String toJSON()
public String getNumber()
public int getDuration()
public Date getDate()
public int getDirection()
Copyright © 2015. All rights reserved.