Example #1
0
 private static void HandleStatusChange(MLMusicService.Status status, IntPtr data)
 {
     MLThreadDispatch.Call(status, OnStatusChange);
 }
Example #2
0
 /// <summary>
 /// Event handler for when the service status changes
 /// </summary>
 /// <param name="state">New status of the service</param>
 void HandleServiceStatusChanged(MLMusicService.Status state)
 {
     OnServiceStatusChanged?.Invoke(state);
 }
Example #3
0
 public static extern MLResult.Code MLMusicServiceGetStatus(out MLMusicService.Status outStatus);