Exemple #1
0
 public void RefreshPlayerVolume(PlayerVolumeEntity entity)
 {
     Dispatcher.BeginInvoke(DispatcherPriority.Render, new Action(() =>
     {
         lblVolume.Content = entity.VolumeString;
         if (faderVolume.Value != (int)entity.Volume)
             faderVolume.ValueWithoutEvent = (int) entity.Volume;
     }));
 }
Exemple #2
0
 public void RefreshPlayerVolume(PlayerVolumeEntity entity)
 {
 }
 public void RefreshPlayerVolume(PlayerVolumeEntity entity)
 {
     InvokeOnMainThread(() => {
         lblVolume.StringValue = entity.VolumeString;
         if(faderVolume.Value != (int)entity.Volume)
             faderVolume.ValueWithoutEvent = (int)entity.Volume;
     });
 }
Exemple #4
0
        public void RefreshPlayerVolume(PlayerVolumeEntity entity)
		{			
			Gtk.Application.Invoke(delegate{			
				lblCurrentVolume.Text = entity.VolumeString;
				if(entity.Volume != vscaleVolume.Value)
					vscaleVolume.Value = (float)entity.Volume;			
			});
		}
 public void RefreshPlayerVolume(PlayerVolumeEntity entity)
 {
     // Not necessary on iOS. The volume is controlled by the MPVolumeView.
 }