Event

class Event
kotlin.Any
   ↳ android.util.EventLog.Event

A previously logged event read from the logs. Instances are thread safe.
Requires API level 8 (Android 2.2, Froyo)

Summary

Public methods
Int

Requires API level 8 (Android 2.2, Froyo)

Long

Requires API level 8 (Android 2.2, Froyo)

Int

Requires API level 8 (Android 2.2, Froyo)

Int

Requires API level 8 (Android 2.2, Froyo)

Any!

Requires API level 8 (Android 2.2, Froyo)

Public methods

getProcessId

added in API level 8
fun getProcessId(): Int

Requires API level 8 (Android 2.2, Froyo)

Return
Int: the process ID which wrote the log entry

getTimeNanos

added in API level 8
fun getTimeNanos(): Long

Requires API level 8 (Android 2.2, Froyo)

Return
Long: the wall clock time when the entry was written

getTag

added in API level 8
fun getTag(): Int

Requires API level 8 (Android 2.2, Froyo)

Return
Int: the type tag code of the entry

getThreadId

added in API level 8
fun getThreadId(): Int

Requires API level 8 (Android 2.2, Froyo)

Return
Int: the thread ID which wrote the log entry

getData

added in API level 8
fun getData(): Any!

Requires API level 8 (Android 2.2, Froyo)

Return
Any!: one of Integer, Long, Float, String, null, or Object[] of same.