Class PlayerError


  • public class PlayerError
    extends java.lang.Object
    Corresponds to kMediaError
    • Nested Class Summary

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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getErrorCode()
      When this switches to using media::Status instead of PipelineStatus we can remove "errorCode" and replace it with the fields from a Status instance.
      PlayerError.Type getType()  
      • Methods inherited from class java.lang.Object

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

      • PlayerError

        public PlayerError​(PlayerError.Type type,
                           java.lang.String errorCode)
    • Method Detail

      • getErrorCode

        public java.lang.String getErrorCode()
        When this switches to using media::Status instead of PipelineStatus we can remove "errorCode" and replace it with the fields from a Status instance. This also seems like a duplicate of the error level enum - there is a todo bug to have that level removed and use this instead. (crbug.com/1068454)