diff options
| author | Luke <luke.pulverenti@gmail.com> | 2017-10-14 02:55:15 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-10-14 02:55:15 -0400 |
| commit | c8244f4687cb26ec1b541767b1ff59fcabbfbdb1 (patch) | |
| tree | f4eb0dfc9d9cd84f551dd445683c44497b623c14 /MediaBrowser.Controller/Devices/IDeviceManager.cs | |
| parent | 7619ff7db543df3d8228aa87aa82a544e8dda54f (diff) | |
| parent | f8a3701bb515dae6be7d8b23bf83c4ce7aac8aa1 (diff) | |
Merge pull request #2952 from MediaBrowser/dev
Dev
Diffstat (limited to 'MediaBrowser.Controller/Devices/IDeviceManager.cs')
| -rw-r--r-- | MediaBrowser.Controller/Devices/IDeviceManager.cs | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/MediaBrowser.Controller/Devices/IDeviceManager.cs b/MediaBrowser.Controller/Devices/IDeviceManager.cs index 2846bcfc6..676db09aa 100644 --- a/MediaBrowser.Controller/Devices/IDeviceManager.cs +++ b/MediaBrowser.Controller/Devices/IDeviceManager.cs @@ -28,7 +28,7 @@ namespace MediaBrowser.Controller.Devices /// <param name="appVersion">The application version.</param> /// <param name="usedByUserId">The used by user identifier.</param> /// <returns>Task.</returns> - Task<DeviceInfo> RegisterDevice(string reportedId, string name, string appName, string appVersion, string usedByUserId); + DeviceInfo RegisterDevice(string reportedId, string name, string appName, string appVersion, string usedByUserId); /// <summary> /// Saves the capabilities. @@ -36,7 +36,7 @@ namespace MediaBrowser.Controller.Devices /// <param name="reportedId">The reported identifier.</param> /// <param name="capabilities">The capabilities.</param> /// <returns>Task.</returns> - Task SaveCapabilities(string reportedId, ClientCapabilities capabilities); + void SaveCapabilities(string reportedId, ClientCapabilities capabilities); /// <summary> /// Gets the capabilities. @@ -58,7 +58,7 @@ namespace MediaBrowser.Controller.Devices /// <param name="id">The identifier.</param> /// <param name="options">The options.</param> /// <returns>Task.</returns> - Task UpdateDeviceInfo(string id, DeviceOptions options); + void UpdateDeviceInfo(string id, DeviceOptions options); /// <summary> /// Gets the devices. @@ -67,12 +67,7 @@ namespace MediaBrowser.Controller.Devices /// <returns>IEnumerable<DeviceInfo>.</returns> QueryResult<DeviceInfo> GetDevices(DeviceQuery query); - /// <summary> - /// Deletes the device. - /// </summary> - /// <param name="id">The identifier.</param> - /// <returns>Task.</returns> - Task DeleteDevice(string id); + void DeleteDevice(string id); /// <summary> /// Gets the upload history. |
