Added in API level 31

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

Returns a string representation of the object.

Public methods

getMessage

Added in API level 31
fun getMessage(): String

Description of the recorded event.

Return
String This value cannot be null.

getPriority

Added in API level 31
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

Added in API level 31
fun getTimestampMillis(): Long

Timing of the recorded event measured in milliseconds since the Epoch, 1970-01-01 00:00:00 +0000 (UTC).

toString

Added in API level 31
fun toString(): String

Returns a string representation of the object.

Return
String a string representation of the object.