Package com.caplin.streamlink
Interface CredentialsReceiver
public interface CredentialsReceiver
Interface that your custom implementation of CredentialsProvider
must call to
provide credential information to StreamLink.
Your implementation of CredentialsProvider
will be called when a set
of Credentials
is required. Your implementation will be passed an instance
of this interface which you should use to callback with either a set of credentials or an error message.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
credentialsUnavailable
(String reason) Call this method to indicate that an error occurred when retrieving a set of credentials.void
provideCredentials
(Credentials credentials) Call this method to provide a set ofCredentials
to StreamLink.
-
Method Details
-
provideCredentials
Call this method to provide a set of
Credentials
to StreamLink.- Parameters:
credentials
- The credentials that should be used to login to the Liberator server.
-