IActivityManager.cs 522 B

1234567891011121314151617
  1. using System;
  2. using MediaBrowser.Model.Events;
  3. using MediaBrowser.Model.Querying;
  4. namespace MediaBrowser.Model.Activity
  5. {
  6. public interface IActivityManager
  7. {
  8. event EventHandler<GenericEventArgs<ActivityLogEntry>> EntryCreated;
  9. void Create(ActivityLogEntry entry);
  10. QueryResult<ActivityLogEntry> GetActivityLogEntries(DateTime? minDate, int? startIndex, int? limit);
  11. QueryResult<ActivityLogEntry> GetActivityLogEntries(DateTime? minDate, bool? hasUserId, int? x, int? y);
  12. }
  13. }