Open 10acre opened 2 years ago
Any suggestions on this would be appreciated.
CrossMediaManager.Current.StepSizeBackward = TimeSpan.FromSeconds(0); CrossMediaManager.Current.StepSizeForward = TimeSpan.FromSeconds(0);
Thanks for the suggestion srknskr, however, this does not work for me. It does remove the previous and next buttons but it leaves the slider.
.
CrossMediaManager.Current.StepSizeBackward = TimeSpan.FromSeconds(0); CrossMediaManager.Current.StepSizeForward = TimeSpan.FromSeconds(0);
Does this work for you? Android?
I am trying to remove the slider from the notification generated by the CrossMediaManager in Xamarin. I want to keep the Play/Pause buttons but I really want the slider to be removed. I tried using CrossMediaManager.Current.Notification.ShowNavigationControls = false; but it doesn't do anything. I'm not sure that is the right property to set but it doesn't look like it does anything anyway. I have tried moving it around in the code to find the right place but still nothing. I am testing on Android now but will also test on iOS. Any help would be appreciated.
Plugin.MediaManager - v 1.1.1 Android target 11