public override void AdjustSessionTrackingFailed(ADJSessionFailure sessionFailureResponseData) { if (!_delegateOptions.SetSessionTrackingFailedDelegate) { return; } Console.WriteLine(TAG + ": SesssionTrackingFailed, sessionFailureResponseData = " + sessionFailureResponseData); AddInfoToSendSafe("message", sessionFailureResponseData.Message); AddInfoToSendSafe("timestamp", sessionFailureResponseData.TimeStamp); AddInfoToSendSafe("adid", sessionFailureResponseData.Adid); AddInfoToSendSafe("willRetry", sessionFailureResponseData.WillRetry.ToString().ToLower()); if (sessionFailureResponseData.JsonResponse != null) { NSError error = new NSError(); NSData dataJsonResponse = NSJsonSerialization.Serialize(sessionFailureResponseData.JsonResponse, 0, out error); NSString stringJsonResponse = new NSString(dataJsonResponse, NSStringEncoding.UTF8); AddInfoToSendSafe("jsonResponse", stringJsonResponse.ToString()); } _testLibrary.SendInfoToServer(_currentBasePath); }
public override void AdjustSessionTrackingFailed(ADJSessionFailure sessionFailureResponseData) { Console.WriteLine("adjust: Session tracking failed! Info: " + sessionFailureResponseData.ToString()); }