mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-21 01:24:44 +01:00
sync updates
This commit is contained in:
@@ -893,6 +893,21 @@ 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 job updates.
|
||||
/// </summary>
|
||||
/// <param name="intervalMs">The interval ms.</param>
|
||||
/// <param name="jobId">The job identifier.</param>
|
||||
/// <returns>Task.</returns>
|
||||
Task StartReceivingSyncJobUpdates(int intervalMs, string jobId);
|
||||
|
||||
/// <summary>
|
||||
/// Stops the receiving synchronize job updates.
|
||||
/// </summary>
|
||||
/// <param name="intervalMs">The interval ms.</param>
|
||||
/// <returns>Task.</returns>
|
||||
Task StopReceivingSyncJobUpdates(int intervalMs);
|
||||
|
||||
/// <summary>
|
||||
/// Starts the receiving synchronize jobs updates.
|
||||
/// </summary>
|
||||
|
||||
@@ -144,5 +144,9 @@ namespace MediaBrowser.Model.ApiClient
|
||||
/// Occurs when [synchronize jobs updated].
|
||||
/// </summary>
|
||||
event EventHandler<GenericEventArgs<List<SyncJob>>> SyncJobsUpdated;
|
||||
/// <summary>
|
||||
/// Occurs when [synchronize job updated].
|
||||
/// </summary>
|
||||
event EventHandler<GenericEventArgs<CompleteSyncJobInfo>> SyncJobUpdated;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user