Interface for EventCode.ErrorInfo event callback for the Realtime Api. More...
Inherited by Photon.Realtime.ErrorInfoCallbacksContainer.
Public Member Functions | |
void | OnErrorInfo (ErrorInfo errorInfo) |
Called when the client receives an event from the server indicating that an error happened there. More... | |
Interface for EventCode.ErrorInfo event callback for the Realtime Api.
Classes that implement this interface must be registered to get callbacks for various situations.
To register for callbacks, call LoadBalancingClient.AddCallbackTarget and pass the class implementing this interface To stop getting callbacks, call LoadBalancingClient.RemoveCallbackTarget and pass the class implementing this interface
void Photon.Realtime.IErrorInfoCallback.OnErrorInfo | ( | ErrorInfo | errorInfo | ) |
Called when the client receives an event from the server indicating that an error happened there.
In most cases this could be either:
If you implement IOnEventCallback.OnEvent or LoadBalancingClient.EventReceived you will also get this event.
errorInfo | Object containing information about the error |