LogMessage
class LogMessage
| kotlin.Any | |
| ↳ | android.media.MediaDrm.LogMessage |
A LogMessage records an event in the MediaDrm framework or vendor plugin.
Summary
| Public methods | |
|---|---|
| String |
Description of the recorded event. |
| Int |
Priority of the recorded event. |
| Long |
Timing of the recorded event measured in milliseconds since the Epoch, 1970-01-01 00:00:00 +0000 (UTC). |
| String |
toString()Returns a string representation of the object. |
Public methods
getMessage
fun getMessage(): String
Description of the recorded event.
| Return | |
|---|---|
String |
This value cannot be null. |
getPriority
fun getPriority(): Int
Priority of the recorded event.
Possible priority constants are defined in Log, e.g.:
| Return | |
|---|---|
Int |
Value is one of the following: |
getTimestampMillis
fun getTimestampMillis(): Long
Timing of the recorded event measured in milliseconds since the Epoch, 1970-01-01 00:00:00 +0000 (UTC).
toString
fun toString(): String
Returns a string representation of the object.
| Return | |
|---|---|
String |
a string representation of the object. |