Class Media.PlayerMessage

    • Field Detail

      • serialVersionUID

        🡇     🗕  🗗  🗖
        protected static final long serialVersionUID
        This fulfils the SerialVersion UID requirement for all classes that implement Java's interface java.io.Serializable. Using the Serializable Implementation offered by java is very easy, and can make saving program state when debugging a lot easier. It can also be used in place of more complicated systems like "hibernate" to store data as well.
        See Also:
        Constant Field Values
      • level

        🡅  🡇     🗕  🗗  🗖
        public final java.lang.String level
        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.

        This particular field will have its values resricted to the contents of a CDP defined Enumerated String List. That list may be viewed inside the hilited source code from this class nested helper. Click the link below, and scroll down to find the definition for a ReadOnlyList<String> named 'level$$':

        📎 Media$$PlayerMessage$$


        Programmatically Accessing the Enum:
        // Retrieve the list of enumerated strings for this field
        ReadOnlyList<String> enumerationStrs = Media.PlayerMessage.enumStrList("level");
        
        // Print the list of strings to the terminal
        for (final String s : enumerationStrs) System.out.println('\"' + s + "\", ");
        
        See Also:
        BaseType.enumStrList(String)