BililiveRecorder/BililiveRecorder.Core/Event/RecordFileClosedEventArgs.cs

26 lines
638 B
C#
Raw Normal View History

2021-02-23 18:03:37 +08:00
using System;
using Newtonsoft.Json;
namespace BililiveRecorder.Core.Event
{
public sealed class RecordFileClosedEventArgs : RecordEventArgsBase
2021-02-23 18:03:37 +08:00
{
public RecordFileClosedEventArgs() { }
public RecordFileClosedEventArgs(IRoom room) : base(room) { }
[JsonIgnore]
public string FullPath { get; set; } = string.Empty;
public string RelativePath { get; set; } = string.Empty;
public long FileSize { get; set; }
public double Duration { get; set; }
public DateTimeOffset FileOpenTime { get; set; }
public DateTimeOffset FileCloseTime { get; set; }
}
}