roadie/Roadie.Api.Services/IPlayActivityService.cs

20 lines
604 B
C#
Raw Normal View History

2018-11-17 02:14:32 +00:00
using Roadie.Library;
using Roadie.Library.Models;
using Roadie.Library.Models.Pagination;
using Roadie.Library.Models.Users;
using Roadie.Library.Scrobble;
2018-11-25 20:43:52 +00:00
using System;
2018-11-16 03:37:00 +00:00
using System.Threading.Tasks;
namespace Roadie.Api.Services
{
public interface IPlayActivityService
{
2019-06-30 22:14:36 +00:00
Task<PagedResult<PlayActivityList>> List(PagedRequest request, User roadieUser = null,
DateTime? newerThan = null);
Task<OperationResult<bool>> NowPlaying(User roadieUser, ScrobbleInfo scrobble);
2019-06-30 22:14:36 +00:00
Task<OperationResult<bool>> Scrobble(User roadieUser, ScrobbleInfo scrobble);
}
}