to top
Android APIs
public static final class

EventLog.Event

extends Object
java.lang.Object
   ↳ android.util.EventLog.Event

Class Overview

A previously logged event read from the logs.

Summary

Public Methods
synchronized Object getData()
int getProcessId()
int getTag()
int getThreadId()
long getTimeNanos()
[Expand]
Inherited Methods
From class java.lang.Object

Public Methods

public synchronized Object getData ()

Added in API level 8

Returns
  • one of Integer, Long, String, null, or Object[] of same.

public int getProcessId ()

Added in API level 8

Returns
  • the process ID which wrote the log entry

public int getTag ()

Added in API level 8

Returns
  • the type tag code of the entry

public int getThreadId ()

Added in API level 8

Returns
  • the thread ID which wrote the log entry

public long getTimeNanos ()

Added in API level 8

Returns
  • the wall clock time when the entry was written