Пример #1
0
 public virtual void _play(double?playVolume = null, bool?playLooping = null)
 {
     try
     {
         PrepForPlayback(playVolume, playLooping);
         PlaybackStarting?.Invoke(this, EventArgs.Empty);
         if (IsPaused)
         {
             unPauseSignal.TrySetResult();
         }
         else
         {
             Start();
         }
     }
     catch (Java.Lang.IllegalStateException)
     {
         throw;
     }
 }
Пример #2
0
 protected virtual void RaisePlaybackStarting()
 {
     PlaybackStarting?.Invoke(this, new EventArgs {
     });
 }