StreamLink.NET
7.1.16-7.1.16-812-a585a9a
|
Defines the interface that should be implemented by the application to receive KeyMaster keep alive Responses. More...
Public Member Functions | |
void | OnKeymasterError (string reason) |
Returns an unsuccessful KeyMaster keep alive Response. More... | |
void | OnKeymasterResponse (string response) |
Returns a successful KeyMaster keep alive Response. Implementing this method is optional. More... | |
Defines the interface that should be implemented by the application to receive KeyMaster keep alive Responses.
The KeymasterPollResponseListener needs to be added to the StreamLinkFactory create method in order to receive callbacks.
Typically an application would notify the user when onKeymasterError is called and ask them to sign in again.
A trivial implementation would be as follows :
void Caplin.StreamLink.IKeymasterPollResponseListener.OnKeymasterError | ( | string | reason | ) |
Returns an unsuccessful KeyMaster keep alive Response.
reason | The error text. |
void Caplin.StreamLink.IKeymasterPollResponseListener.OnKeymasterResponse | ( | string | response | ) |
Returns a successful KeyMaster keep alive Response. Implementing this method is optional.
response | The response text. |