private static void HandleError(MLMusicService.ErrorType type, int code, IntPtr data) { MLMusicService.Error error = new MLMusicService.Error { Type = type, Code = code }; MLThreadDispatch.Call(error, OnError); }
public static extern MLResult.Code MLMusicServiceGetError(out MLMusicService.ErrorType outErrorType, out int outErrorCode);