All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.eg.agent.android.unity.eGUnity Maven / Gradle / Ivy

There is a newer version: 2.1.3
Show newest version
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