public class IpConnectivityLog extends Object
Modifier and Type | Field and Description |
---|---|
static String |
SERVICE_NAME |
Constructor and Description |
---|
IpConnectivityLog() |
IpConnectivityLog(IIpConnectivityMetrics service) |
Modifier and Type | Method and Description |
---|---|
boolean |
log(long timestamp,
Parcelable data)
Log an IpConnectivity event.
|
void |
log(Parcelable event) |
public static final String SERVICE_NAME
public IpConnectivityLog()
public IpConnectivityLog(IIpConnectivityMetrics service)
public boolean log(long timestamp, Parcelable data)
timestamp
- is the epoch timestamp of the event in ms.data
- is a Parcelable instance representing the event.public void log(Parcelable event)