public class InProgressCallSession extends Object
Modifier and Type | Field and Description |
---|---|
Deque<TelephonyCallSession.Event> |
events
Call session events
|
int |
phoneId
Phone id
|
long |
startElapsedTimeMs
Call session starting elapsed time in milliseconds
|
int |
startSystemTimeMin
Call session starting system time in minute
|
Constructor and Description |
---|
InProgressCallSession(int phoneId)
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
addEvent(CallSessionEventBuilder builder)
Add event
|
void |
addEvent(long timestamp,
CallSessionEventBuilder builder)
Add event
|
boolean |
isEventsDropped()
Check if events dropped
|
public final int phoneId
public final Deque<TelephonyCallSession.Event> events
public final int startSystemTimeMin
public final long startElapsedTimeMs
public InProgressCallSession(int phoneId)
phoneId
- Phone idpublic boolean isEventsDropped()
public void addEvent(CallSessionEventBuilder builder)
builder
- Event builderpublic void addEvent(long timestamp, CallSessionEventBuilder builder)
timestamp
- Timestamp to be recoded with the eventbuilder
- Event builder