mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-03 06:11:10 +00:00
Adds music play history persistence and reporting endpoints
This commit is contained in:
1 parent
9919965a73
commit
009a0c8156
55 files changed
+6426
-3
No files matched your search
+16
@@ -0,0 +1,16 @@
|
||||
#region ========================================================================= USING =====================================================================================
|
||||
using System.Diagnostics;
|
||||
#endregion
|
||||
|
||||
namespace Lumina.Contracts.Requests.MediaLibrary.AudioLibrary.MusicLibrary.PlayHistory;
|
||||
|
||||
/// <summary>
|
||||
/// Represents a request to report that a play of a track by the current user stopped before the track completed.
|
||||
/// </summary>
|
||||
/// <param name="PositionInSeconds">The last position reported by the player, in seconds. Required.</param>
|
||||
/// <param name="ListenedDurationInSeconds">The duration the user listened to, in seconds. Required.</param>
|
||||
[DebuggerDisplay("PositionInSeconds: {PositionInSeconds}; ListenedDurationInSeconds: {ListenedDurationInSeconds}")]
|
||||
public sealed record StopPlayRequest(
|
||||
double? PositionInSeconds,
|
||||
double? ListenedDurationInSeconds
|
||||
);
|
||||
Reference in new issue
Block a user