Example #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;
     }));
 }
Example #2
0
 public void RefreshPlayerVolume(PlayerVolumeEntity entity)
 {
 }
Example #3
0
 public void RefreshPlayerVolume(PlayerVolumeEntity entity)
 {
     InvokeOnMainThread(() => {
         lblVolume.StringValue = entity.VolumeString;
         if(faderVolume.Value != (int)entity.Volume)
             faderVolume.ValueWithoutEvent = (int)entity.Volume;
     });
 }
Example #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;			
			});
		}
Example #5
0
 public void RefreshPlayerVolume(PlayerVolumeEntity entity)
 {
     // Not necessary on iOS. The volume is controlled by the MPVolumeView.
 }