jellyfin/MediaBrowser.Model/Activity/IActivityManager.cs

17 lines
446 B
C#
Raw Normal View History

using System;
2019-01-06 10:00:30 -05:00
using System.Collections.Generic;
using System.Threading.Tasks;
2018-12-27 18:27:57 -05:00
using MediaBrowser.Model.Events;
namespace MediaBrowser.Model.Activity
{
public interface IActivityManager
{
event EventHandler<GenericEventArgs<ActivityLogEntry>> EntryCreated;
2019-01-23 13:09:34 -05:00
Task CreateAsync(ActivityLogEntry entry);
2018-12-27 18:27:57 -05:00
2019-01-06 10:00:30 -05:00
IEnumerable<ActivityLogEntry> GetActivityLogEntries(DateTime? minDate, bool? hasUserId, int? x, int? y);
2018-12-27 18:27:57 -05:00
}
}