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

? Examples
synchronized Object getData()

? Examples
int getProcessId()

? Examples
int getTag()

? Examples
int getThreadId()

? Examples
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
No examples for this method.
Frequently called with: [Clear]
Portions of this page are reproduced from work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. The original page is available here.