Class PlayerMessage


  • public class PlayerMessage
    extends java.lang.Object
    Have one type per entry in MediaLogRecord::Type Corresponds to kMessage
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  PlayerMessage.Level  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      PlayerMessage.Level getLevel()
      Keep in sync with MediaLogMessageLevel We are currently keeping the message level 'error' separate from the PlayerError type because right now they represent different things, this one being a DVLOG(ERROR) style log message that gets printed based on what log level is selected in the UI, and the other is a representation of a media::PipelineStatus object.
      java.lang.String getMessage()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PlayerMessage

        public PlayerMessage​(PlayerMessage.Level level,
                             java.lang.String message)
    • Method Detail

      • getLevel

        public PlayerMessage.Level getLevel()
        Keep in sync with MediaLogMessageLevel We are currently keeping the message level 'error' separate from the PlayerError type because right now they represent different things, this one being a DVLOG(ERROR) style log message that gets printed based on what log level is selected in the UI, and the other is a representation of a media::PipelineStatus object. Soon however we're going to be moving away from using PipelineStatus for errors and introducing a new error type which should hopefully let us integrate the error log level into the PlayerError type.
      • getMessage

        public java.lang.String getMessage()