diff options
| author | Luke Pulverenti <luke.pulverenti@gmail.com> | 2014-10-02 23:48:59 -0400 |
|---|---|---|
| committer | Luke Pulverenti <luke.pulverenti@gmail.com> | 2014-10-02 23:48:59 -0400 |
| commit | cd8db6fa54cbec936346098939db986ae52776bb (patch) | |
| tree | 4dc4b14ad20d0279c105591bc657ba10c221b579 /MediaBrowser.Model/ApiClient/IApiClient.cs | |
| parent | cf745bb888120cc7fe7c9d7d1396d32d6196ddbc (diff) | |
add connection manager interface
Diffstat (limited to 'MediaBrowser.Model/ApiClient/IApiClient.cs')
| -rw-r--r-- | MediaBrowser.Model/ApiClient/IApiClient.cs | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/MediaBrowser.Model/ApiClient/IApiClient.cs b/MediaBrowser.Model/ApiClient/IApiClient.cs index 8b7681c84..3efdea70d 100644 --- a/MediaBrowser.Model/ApiClient/IApiClient.cs +++ b/MediaBrowser.Model/ApiClient/IApiClient.cs @@ -25,7 +25,7 @@ namespace MediaBrowser.Model.ApiClient /// <summary> /// Interface IApiClient /// </summary> - public interface IApiClient : IDisposable + public interface IApiClient : IServerEvents, IDisposable { /// <summary> /// Occurs when [HTTP response received]. @@ -1288,5 +1288,17 @@ namespace MediaBrowser.Model.ApiClient /// <exception cref="ArgumentNullException">options</exception> [Obsolete] string GetHlsVideoStreamUrl(VideoStreamOptions options); + + /// <summary> + /// Sends the context message asynchronous. + /// </summary> + /// <param name="itemType">Type of the item.</param> + /// <param name="itemId">The item identifier.</param> + /// <param name="itemName">Name of the item.</param> + /// <param name="context">The context.</param> + /// <param name="cancellationToken">The cancellation token.</param> + /// <returns>Task.</returns> + Task SendContextMessageAsync(string itemType, string itemId, string itemName, string context, + CancellationToken cancellationToken); } }
\ No newline at end of file |
