예제 #1
0
 protected virtual void OnMediaMetadataChanged(MediaMetadataChangedEventArgs e)
 {
     ThreadPool.QueueUserWorkItem(m =>
     {
         MediaMetadataChanged?.Invoke(this, e);
     });
 }
예제 #2
0
 protected virtual void OnMediaMetadataChanged(MediaMetadataChangedEventArgs e)
 {
     if (e.MediaMetadata != null) //Sometimes MediaMetadata is null, and it could cause a Crash later in MusicWidget
     {
         ThreadPool.QueueUserWorkItem(m =>
         {
             MediaMetadataChanged?.Invoke(this, e);
         });
     }
 }
예제 #3
0
 protected virtual void OnMediaMetadataChanged(MediaMetadataChangedKitkatEventArgs e)
 {
     MediaMetadataChanged?.Invoke(this, e);
 }