# Print output for @column tags ?> MediaDrm.LogMessage - Android SDK | Android Developers

Most visited

Recently visited

MediaDrm.LogMessage

public static final class MediaDrm.LogMessage
extends Object

java.lang.Object
   ↳ android.media.MediaDrm.LogMessage


A LogMessage records an event in the MediaDrm framework or vendor plugin.

Summary

Public methods

String getMessage()

Description of the recorded event.

int getPriority()

Priority of the recorded event.

long getTimestampMillis()

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.

Inherited methods

Public methods

getMessage

public String getMessage ()

Description of the recorded event.

Returns
String This value cannot be null.

getPriority

public int getPriority ()

Priority of the recorded event.

Possible priority constants are defined in Log, e.g.:

Returns
int Value is Log.ASSERT, Log.ERROR, Log.WARN, Log.INFO, Log.DEBUG, or Log.VERBOSE

getTimestampMillis

public long getTimestampMillis ()

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

Returns
long

toString

public String toString ()

Returns a string representation of the object. In general, the toString method returns a string that "textually represents" this object. The result should be a concise but informative representation that is easy for a person to read. It is recommended that all subclasses override this method.

The toString method for class Object returns a string consisting of the name of the class of which the object is an instance, the at-sign character `@', and the unsigned hexadecimal representation of the hash code of the object. In other words, this method returns a string equal to the value of:

 getClass().getName() + '@' + Integer.toHexString(hashCode())
 

Returns
String a string representation of the object.