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()
java.lang.String
toString()
-
-
-
Constructor Detail
-
MuxError
protected MuxError(T value)
-
-
Method Detail
-
getValue
public final T getValue()
-
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
-
-