mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-06-01 05:18:27 +01:00
sync updates
This commit is contained in:
@@ -893,6 +893,22 @@ namespace MediaBrowser.Model.ApiClient
|
||||
/// <param name="keepExistingAuth">if set to <c>true</c> [keep existing authentication].</param>
|
||||
void ChangeServerLocation(string address, bool keepExistingAuth = false);
|
||||
|
||||
/// <summary>
|
||||
/// Starts the receiving synchronize jobs updates.
|
||||
/// </summary>
|
||||
/// <param name="intervalMs">The interval ms.</param>
|
||||
/// <param name="userId">The user identifier.</param>
|
||||
/// <param name="targetId">The target identifier.</param>
|
||||
/// <returns>Task.</returns>
|
||||
Task StartReceivingSyncJobsUpdates(int intervalMs, string userId, string targetId);
|
||||
|
||||
/// <summary>
|
||||
/// Stops the receiving synchronize jobs updates.
|
||||
/// </summary>
|
||||
/// <param name="intervalMs">The interval ms.</param>
|
||||
/// <returns>Task.</returns>
|
||||
Task StopReceivingSyncJobsUpdates(int intervalMs);
|
||||
|
||||
/// <summary>
|
||||
/// Starts the receiving session updates.
|
||||
/// </summary>
|
||||
|
||||
@@ -7,6 +7,7 @@ using MediaBrowser.Model.Sync;
|
||||
using MediaBrowser.Model.Tasks;
|
||||
using MediaBrowser.Model.Updates;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace MediaBrowser.Model.ApiClient
|
||||
{
|
||||
@@ -139,5 +140,9 @@ namespace MediaBrowser.Model.ApiClient
|
||||
/// Occurs when [synchronize job cancelled].
|
||||
/// </summary>
|
||||
event EventHandler<GenericEventArgs<SyncJob>> SyncJobCancelled;
|
||||
/// <summary>
|
||||
/// Occurs when [synchronize jobs updated].
|
||||
/// </summary>
|
||||
event EventHandler<GenericEventArgs<List<SyncJob>>> SyncJobsUpdated;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user