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> /// </summary>
public class PlaybackProgressInfo public class PlaybackProgressInfo
{ {
private double _playbackSpeed = 1.0; private double? _playbackSpeed = 1.0;
/// <summary> /// <summary>
/// Gets or sets a value indicating whether this instance can seek. /// 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. /// Gets or sets the playback speed.
/// </summary> /// </summary>
/// <value>The playback speed.</value> /// <value>The playback speed.</value>
public double PlaybackSpeed public double? PlaybackSpeed
{ {
get get
{ {

View file

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