Made PlaybackSpeed nullable for kotlin SDK

This commit is contained in:
rzk3 2023-02-16 09:27:09 -05:00
parent 7c46947df5
commit bb840a2e70
2 changed files with 4 additions and 4 deletions

View File

@ -11,7 +11,7 @@ namespace MediaBrowser.Model.Session
/// </summary>
public class PlaybackProgressInfo
{
private double _playbackSpeed = 1.0;
private double? _playbackSpeed = 1.0;
/// <summary>
/// Gets or sets a value indicating whether this instance can seek.
@ -117,7 +117,7 @@ namespace MediaBrowser.Model.Session
/// Gets or sets the playback speed.
/// </summary>
/// <value>The playback speed.</value>
public double PlaybackSpeed
public double? PlaybackSpeed
{
get
{

View File

@ -7,7 +7,7 @@ namespace MediaBrowser.Model.Session
{
public class PlayerStateInfo
{
private double _playbackSpeed = 1.0;
private double? _playbackSpeed = 1.0;
/// <summary>
/// Gets or sets the now playing position ticks.
@ -79,7 +79,7 @@ namespace MediaBrowser.Model.Session
/// Gets or sets the playback speed.
/// </summary>
/// <value>The playback speed.</value>
public double PlaybackSpeed
public double? PlaybackSpeed
{
get
{