public static final class SecurityLog.SecurityEvent
extends Object implements Parcelable
| java.lang.Object | |
| android.app.admin.SecurityLog.SecurityEvent | |
表示安全事件日志条目的类。
Inherited constants |
|---|
android.os.Parcelable
|
Fields |
|
|---|---|
public static final Creator<SecurityLog.SecurityEvent> |
CREATOR |
公共方法(Public methods) |
|
|---|---|
int |
describeContents() 描述此Parcelable实例的封送表示中包含的特殊对象的种类。 |
Object |
getData() 返回此日志中包含的有效内容。 |
int |
getTag() 返回此日志条目的标签,它指定条目的语义。 |
long |
getTimeNanos() 当记录此事件时,以纳秒为单位返回时间戳。 |
void |
writeToParcel(Parcel dest, int flags) 将此对象平铺到一个包裹中。 |
继承方法(Inherited methods) |
|
|---|---|
java.lang.Object
|
|
android.os.Parcelable
|
|
int describeContents ()
描述此Parcelable实例的封送表示中包含的特殊对象的种类。 例如,如果对象将在writeToParcel(Parcel, int)的输出中包含writeToParcel(Parcel, int) ,则此方法的返回值必须包含CONTENTS_FILE_DESCRIPTOR位。
| 返回(Returns) | |
|---|---|
int |
a bitmask indicating the set of special object types marshaled by this Parcelable object instance. |
Object getData ()
返回此日志中包含的有效内容。 每次调用这个方法都会检索下一个有效载荷项目。 如果不存在更多的有效载荷,则返回null 。
| 返回(Returns) | |
|---|---|
Object |
|
int getTag ()
返回此日志条目的标签,它指定条目的语义。 可能是一个TAG_SYNC_RECV_FILE , TAG_SYNC_SEND_FILE , TAG_ADB_SHELL_CMD , TAG_ADB_SHELL_INTERACTIVE , TAG_APP_PROCESS_START , TAG_KEYGUARD_DISMISSED , TAG_KEYGUARD_SECURED , TAG_KEYGUARD_DISMISS_AUTH_ATTEMPT 。
| 返回(Returns) | |
|---|---|
int |
|
void writeToParcel (Parcel dest, int flags)
将此对象平铺到一个包裹中。
| 参数(Parameters) | |
|---|---|
dest |
Parcel: The Parcel in which the object should be written. |
flags |
int: Additional flags about how the object should be written. May be 0 or PARCELABLE_WRITE_RETURN_VALUE. |