This interface defines the functionality of the StreamLink class.
Declaration Syntax
C# | Visual Basic | Visual C++ |
public interface IStreamLink
Public Interface IStreamLink
public interface class IStreamLink
Members
All Members | Properties | ||||
Icon | Member | Description |
---|---|---|
AdvancedConfiguration |
Gets the advanced configuration for this StreamLink instance.
| |
ApplicationID |
Sets the application ID that will be sent to the Liberator when the StreamLink attempts to login.
If this attribute is defined, the value that is sent to the Liberator will always be prefixed with SL4N for
StreamLink.NET or SL4SL for StreamLink for Silverlight.
| |
CredentialsProvider |
Gets or sets the ICredentialsProvider, which provides the user credentials that
StreamLink uses to log in to a Liberator server.
| |
ExceptionHandler |
Gets or sets the exception handler.
| |
Logger |
Gets or sets the ILogger that all logging information will be sent to.
| |
StreamLinkConfiguration | ||
StreamLinkProvider |
Gets the IStreamLinkProvider that provides access to
the majority of the StreamLink functionality.
|
Remarks
This interface can be used to make unit testing your application easier. You should use a mock library (for example Moq, or NMock2) to create a mock object which implements this interface, thus removing the dependency on the real StreamLink implementation.