com.eg.agent.android.unity.eGUnity Maven / Gradle / Ivy
package com.eg.agent.android.unity;
public class eGUnity {
private static final String ROOT_TRACE_NAME = "Unity";
static void handleUnityCrash(UnityException ex) {
Thread.UncaughtExceptionHandler currentExceptionHandler = Thread.getDefaultUncaughtExceptionHandler();
//if ((currentExceptionHandler != null) && ((currentExceptionHandler instanceof this.UncaughtExceptionHandler))) {
// currentExceptionHandler.uncaughtException(Thread.currentThread(), ex);
//}
}
static boolean recordEvent(UnityEvent event) {
//return NewRelic.recordEvent(event.getName(), event.getAttributes());
return false;
}
static void noticeNetworkFailure(String url, String httpMethod, long startTime, long endTime, int failureCode, String message) {
// NetworkFailure networkFailure = NetworkFailure.fromErrorCode(failureCode);
// NewRelic.noticeNetworkFailure(url, httpMethod, startTime, endTime, networkFailure, message);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy