override public void noticeNetworkFailure(string url, string httpMethod, Timer timer, NewRelicAgent.NetworkFailureCode failureCode, string message) { // Invoke the Android agent noticeNetworkFailure(url, httpMethod, startTime, endTime, exception) unityApiClass.CallStatic("noticeNetworkFailure", url, httpMethod, dateTimeToMillisSinceEpoch(timer.start), dateTimeToMillisSinceEpoch(timer.end), (int)failureCode, message); }
/// <summary> /// records a failed network transaction. /// </summary> /// <param name="url">the URL of the request</param> /// <param name="httpMethod">HTTP method</param> /// <param name="timer">a timer created when the network request was started</param> /// <param name="failureCode">Failure code defined from <c>NewRelicAgent.NetworkFailureCode</c> list</param> /// <param name="message">optional descriptive message, unused in iOS</param> static public void NoticeNetworkFailure(string url, string httpMethod, Timer timer, NewRelicAgent.NetworkFailureCode failureCode, string message) { if (validatePluginImpl()) { instance.agentInstance.noticeNetworkFailure(url, httpMethod, timer, failureCode, message); } }
override public void noticeNetworkFailure(string url, string httpMethod, Timer timer, NewRelicAgent.NetworkFailureCode failureCode, string message) { NR_noticeNetworkFailure(url, httpMethod, timer.handle, (int)failureCode); }
abstract public void noticeNetworkFailure(string url, string httpMethod, Timer timer, NewRelicAgent.NetworkFailureCode failureCode, string message);