Methods Summary |
---|
public int | describeContents()
return 0;
|
public int | getActivationCount()Get the number of times this configuration was active.
return mActivationCount;
|
public android.content.res.Configuration | getConfiguration()
return mConfiguration;
|
public long | getFirstTimeStamp()Get the beginning of the time range this {@link ConfigurationStats} represents,
measured in milliseconds since the epoch.
See {@link System#currentTimeMillis()}.
return mBeginTimeStamp;
|
public long | getLastTimeActive()Get the last time this configuration was active, measured in milliseconds since the epoch.
See {@link System#currentTimeMillis()}.
return mLastTimeActive;
|
public long | getLastTimeStamp()Get the end of the time range this {@link ConfigurationStats} represents,
measured in milliseconds since the epoch.
See {@link System#currentTimeMillis()}.
return mEndTimeStamp;
|
public long | getTotalTimeActive()Get the total time this configuration was active, measured in milliseconds.
return mTotalTimeActive;
|
public void | writeToParcel(android.os.Parcel dest, int flags)
if (mConfiguration != null) {
dest.writeInt(1);
mConfiguration.writeToParcel(dest, flags);
} else {
dest.writeInt(0);
}
dest.writeLong(mBeginTimeStamp);
dest.writeLong(mEndTimeStamp);
dest.writeLong(mLastTimeActive);
dest.writeLong(mTotalTimeActive);
dest.writeInt(mActivationCount);
|