Package com.mux.sdk.webrtc.spaces
Class MuxError<T extends java.lang.Enum>
- java.lang.Object
-
- com.mux.sdk.webrtc.spaces.MuxError<T>
-
public abstract class MuxError<T extends java.lang.Enum> extends java.lang.Object
The base error class for the SDKSpace.Listener has an onError method that receives errors of this type. Doing this (as opposed to exceptions) is necessary due to how asynchronous the code is. You are likely to receive errors quite a while after you started the operations that caused them.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
java.lang.String
getMessage()
T
getValue()
boolean
isFatal()
java.lang.String
toString()
-
-
-
Constructor Detail
-
MuxError
protected MuxError(T value, boolean fatal)
-
-
Method Detail
-
getValue
public final T getValue()
-
isFatal
public final boolean isFatal()
-
getMessage
public java.lang.String getMessage()
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-