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 TypeMethodDescriptionvoidcredentialsUnavailable(String reason) Call this method to indicate that an error occurred when retrieving a set of credentials.voidprovideCredentials(Credentials credentials) Call this method to provide a set ofCredentialsto StreamLink.
-
Method Details
-
provideCredentials
Call this method to provide a set of
Credentialsto StreamLink.- Parameters:
credentials- The credentials that should be used to login to the Liberator server.
-