File tree 2 files changed +13
-1
lines changed
2 files changed +13
-1
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ public MediaManagerBase()
27
27
public Timer Timer { get ; } = new Timer ( 1000 ) ;
28
28
29
29
private TimeSpan _stepSize = TimeSpan . FromSeconds ( 10 ) ;
30
- public TimeSpan StepSize
30
+ public virtual TimeSpan StepSize
31
31
{
32
32
get => _stepSize ;
33
33
set => SetProperty ( ref _stepSize , value ) ;
Original file line number Diff line number Diff line change @@ -96,6 +96,18 @@ public virtual MediaBrowserManager MediaBrowserManager
96
96
set => SetProperty ( ref _mediaBrowserManager , value ) ;
97
97
}
98
98
99
+ public override TimeSpan StepSize
100
+ {
101
+ get => base . StepSize ;
102
+ set
103
+ {
104
+ base . StepSize = value ;
105
+ var playerNotificationManager = ( NotificationManager as MediaManager . Platforms . Android . Notifications . NotificationManager ) ? . PlayerNotificationManager ;
106
+ playerNotificationManager ? . SetFastForwardIncrementMs ( ( long ) value . TotalMilliseconds ) ;
107
+ playerNotificationManager ? . SetRewindIncrementMs ( ( long ) value . TotalMilliseconds ) ;
108
+ }
109
+ }
110
+
99
111
private IMediaPlayer _mediaPlayer ;
100
112
public override IMediaPlayer MediaPlayer
101
113
{
You can’t perform that action at this time.
0 commit comments