aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model/ApiClient/IDevice.cs
diff options
context:
space:
mode:
authorLuke <luke.pulverenti@gmail.com>2017-08-13 16:21:10 -0400
committerGitHub <noreply@github.com>2017-08-13 16:21:10 -0400
commitdc578f3742b474bd85d556299a6b2763f4d9acda (patch)
treecc4a8d1de140ece77160349e51a64857656ab373 /MediaBrowser.Model/ApiClient/IDevice.cs
parentf6ed934a7e32bf10c3a141773d713bf3b19e784f (diff)
parent7f200f057d33e3ef52b1b1b1bf1767577295317e (diff)
Merge pull request #2815 from MediaBrowser/beta
Beta
Diffstat (limited to 'MediaBrowser.Model/ApiClient/IDevice.cs')
-rw-r--r--MediaBrowser.Model/ApiClient/IDevice.cs44
1 files changed, 0 insertions, 44 deletions
diff --git a/MediaBrowser.Model/ApiClient/IDevice.cs b/MediaBrowser.Model/ApiClient/IDevice.cs
deleted file mode 100644
index 7b67122fb..000000000
--- a/MediaBrowser.Model/ApiClient/IDevice.cs
+++ /dev/null
@@ -1,44 +0,0 @@
-using MediaBrowser.Model.Devices;
-using System;
-using System.Collections.Generic;
-using System.Threading;
-using System.Threading.Tasks;
-
-namespace MediaBrowser.Model.ApiClient
-{
- public interface IDevice
- {
- /// <summary>
- /// Occurs when [resume from sleep].
- /// </summary>
- event EventHandler<EventArgs> ResumeFromSleep;
- /// <summary>
- /// Gets the name of the device.
- /// </summary>
- /// <value>The name of the device.</value>
- string DeviceName { get; }
- /// <summary>
- /// Gets the device identifier.
- /// </summary>
- /// <value>The device identifier.</value>
- string DeviceId { get; }
- /// <summary>
- /// Gets the local images.
- /// </summary>
- /// <returns>IEnumerable&lt;LocalFileInfo&gt;.</returns>
- Task<IEnumerable<LocalFileInfo>> GetLocalPhotos();
- /// <summary>
- /// Gets the local videos.
- /// </summary>
- /// <returns>IEnumerable&lt;LocalFileInfo&gt;.</returns>
- Task<IEnumerable<LocalFileInfo>> GetLocalVideos();
- /// <summary>
- /// Uploads the file.
- /// </summary>
- /// <param name="file">The file.</param>
- /// <param name="apiClient">The API client.</param>
- /// <param name="cancellationToken">The cancellation token.</param>
- /// <returns>Task.</returns>
- Task UploadFile(LocalFileInfo file, IApiClient apiClient, CancellationToken cancellationToken = default(CancellationToken));
- }
-}