mirror of
https://github.com/yaobiao131/downkyicore.git
synced 2025-08-10 00:52:31 +00:00
45 lines
899 B
C#
45 lines
899 B
C#
using System.Collections.Generic;
|
|
using Prism.Mvvm;
|
|
|
|
namespace DownKyi.ViewModels.PageViewModels;
|
|
|
|
public class VideoQuality : BindableBase
|
|
{
|
|
private int quality;
|
|
|
|
public int Quality
|
|
{
|
|
get => quality;
|
|
set => SetProperty(ref quality, value);
|
|
}
|
|
|
|
private string qualityFormat;
|
|
|
|
public string QualityFormat
|
|
{
|
|
get => qualityFormat;
|
|
set => SetProperty(ref qualityFormat, value);
|
|
}
|
|
|
|
private List<string> videoCodecList;
|
|
|
|
public List<string> VideoCodecList
|
|
{
|
|
get => videoCodecList;
|
|
set => SetProperty(ref videoCodecList, value);
|
|
}
|
|
|
|
private string selectedVideoCodec;
|
|
|
|
public string SelectedVideoCodec
|
|
{
|
|
get => selectedVideoCodec;
|
|
set
|
|
{
|
|
if (value != null)
|
|
{
|
|
SetProperty(ref selectedVideoCodec, value);
|
|
}
|
|
}
|
|
}
|
|
} |