public static final class ConnectivityMetricsEvent.Reference extends Object implements Parcelable
Parcelable.ClassLoaderCreator<T>, Parcelable.Creator<T>
Modifier and Type | Field and Description |
---|---|
static Parcelable.Creator<ConnectivityMetricsEvent.Reference> |
CREATOR
Implement the Parcelable interface
|
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_ELIDE_DUPLICATES, PARCELABLE_WRITE_RETURN_VALUE
Constructor and Description |
---|
Reference(long ref) |
Modifier and Type | Method and Description |
---|---|
int |
describeContents()
Implement the Parcelable interface
|
long |
getValue() |
void |
readFromParcel(Parcel in) |
void |
setValue(long val) |
void |
writeToParcel(Parcel dest,
int flags)
Implement the Parcelable interface
|
public static final Parcelable.Creator<ConnectivityMetricsEvent.Reference> CREATOR
public int describeContents()
describeContents
in interface Parcelable
Parcelable.CONTENTS_FILE_DESCRIPTOR
public void writeToParcel(Parcel dest, int flags)
writeToParcel
in interface Parcelable
dest
- The Parcel in which the object should be written.flags
- Additional flags about how the object should be written.
May be 0 or Parcelable.PARCELABLE_WRITE_RETURN_VALUE
.public void readFromParcel(Parcel in)
public long getValue()
public void setValue(long val)