2018-11-17 02:14:32 +00:00
|
|
|
|
using Roadie.Library;
|
|
|
|
|
using Roadie.Library.Models;
|
2018-11-15 04:11:25 +00:00
|
|
|
|
using Roadie.Library.Models.Pagination;
|
|
|
|
|
using Roadie.Library.Models.Users;
|
2019-06-09 21:31:02 +00:00
|
|
|
|
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;
|
2018-11-15 04:11:25 +00:00
|
|
|
|
|
|
|
|
|
namespace Roadie.Api.Services
|
|
|
|
|
{
|
|
|
|
|
public interface IPlayActivityService
|
|
|
|
|
{
|
2020-06-07 22:46:24 +00:00
|
|
|
|
Task<PagedResult<PlayActivityList>> ListAsync(PagedRequest request, User roadieUser = null, DateTime? newerThan = null);
|
2019-06-30 22:14:36 +00:00
|
|
|
|
|
2020-06-07 22:46:24 +00:00
|
|
|
|
Task<OperationResult<bool>> NowPlayingAsync(User roadieUser, ScrobbleInfo scrobble);
|
2019-06-30 22:14:36 +00:00
|
|
|
|
|
2020-06-07 22:46:24 +00:00
|
|
|
|
Task<OperationResult<bool>> ScrobbleAsync(User roadieUser, ScrobbleInfo scrobble);
|
2018-11-15 04:11:25 +00:00
|
|
|
|
}
|
|
|
|
|
}
|