app center;增加發送ping的秒
This commit is contained in:
1 parent
1bd1ffdb5a
commit
d754ff3b15
719 files changed
+34172
-2875
No files matched your search
@@ -0,0 +1,43 @@
|
||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// Licensed under the MIT license.
|
||||
|
||||
#if UNITY_WSA_10_0 && !UNITY_EDITOR
|
||||
|
||||
namespace Microsoft.AppCenter.Unity.Crashes.Internal
|
||||
{
|
||||
public class CrashesDelegate
|
||||
{
|
||||
#pragma warning disable 0067
|
||||
public static event Crashes.SendingErrorReportHandler SendingErrorReport;
|
||||
|
||||
public static event Crashes.SentErrorReportHandler SentErrorReport;
|
||||
|
||||
public static event Crashes.FailedToSendErrorReportHandler FailedToSendErrorReport;
|
||||
#pragma warning restore 0067
|
||||
|
||||
#pragma warning disable 0649
|
||||
internal static Crashes.GetErrorAttachmentsHandler GetErrorAttachmentsHandler;
|
||||
#pragma warning restore 0649
|
||||
|
||||
public static void SetDelegate()
|
||||
{
|
||||
}
|
||||
|
||||
public static void SetShouldProcessErrorReportHandler(Crashes.ShouldProcessErrorReportHandler handler)
|
||||
{
|
||||
}
|
||||
|
||||
public static void SetGetErrorAttachmentsHandler(Crashes.GetErrorAttachmentsHandler handler)
|
||||
{
|
||||
}
|
||||
|
||||
public static void SetSentErrorReportHandler(Crashes.SentErrorReportHandler handler)
|
||||
{
|
||||
}
|
||||
|
||||
public static void SetFailedToSendErrorReportHandler(Crashes.FailedToSendErrorReportHandler handler)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
@@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 58a05f18710714e42872b326eb0cfc2d
|
||||
timeCreated: 1497991554
|
||||
licenseType: Pro
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,88 @@
|
||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// Licensed under the MIT license.
|
||||
|
||||
#if UNITY_WSA_10_0 && !UNITY_EDITOR
|
||||
using Microsoft.AppCenter.Unity.Crashes.Models;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Threading.Tasks;
|
||||
using Microsoft.AppCenter.Unity.Crashes;
|
||||
|
||||
namespace Microsoft.AppCenter.Unity.Crashes.Internal
|
||||
{
|
||||
class CrashesInternal
|
||||
{
|
||||
public static void AddNativeType(List<Type> nativeTypes)
|
||||
{
|
||||
}
|
||||
|
||||
public static string TrackException(object exception, IDictionary<string, string> properties, ErrorAttachmentLog[] attachments)
|
||||
{
|
||||
return "";
|
||||
}
|
||||
|
||||
public static AppCenterTask<bool> HasReceivedMemoryWarningInLastSessionAsync()
|
||||
{
|
||||
return AppCenterTask<bool>.FromCompleted(false);
|
||||
}
|
||||
|
||||
public static AppCenterTask SetEnabledAsync(bool enabled)
|
||||
{
|
||||
return AppCenterTask.FromCompleted();
|
||||
}
|
||||
|
||||
public static AppCenterTask<bool> IsEnabledAsync()
|
||||
{
|
||||
return AppCenterTask<bool>.FromCompleted(false);
|
||||
}
|
||||
|
||||
public static void GenerateTestCrash()
|
||||
{
|
||||
}
|
||||
|
||||
public static AppCenterTask<bool> HasCrashedInLastSessionAsync()
|
||||
{
|
||||
return AppCenterTask<bool>.FromCompleted(false);
|
||||
}
|
||||
|
||||
public static AppCenterTask<ErrorReport> GetLastSessionCrashReportAsync()
|
||||
{
|
||||
return AppCenterTask<ErrorReport>.FromCompleted(null);
|
||||
}
|
||||
|
||||
public static void DisableMachExceptionHandler()
|
||||
{
|
||||
}
|
||||
|
||||
private class Crashes
|
||||
{
|
||||
}
|
||||
|
||||
public static void SetUserConfirmationHandler(Unity.Crashes.Crashes.UserConfirmationHandler handler)
|
||||
{
|
||||
}
|
||||
|
||||
public static void NotifyWithUserConfirmation(Unity.Crashes.Crashes.ConfirmationResult answer)
|
||||
{
|
||||
}
|
||||
|
||||
public static void StartCrashes()
|
||||
{
|
||||
}
|
||||
|
||||
public static ErrorReport BuildHandledErrorReport(string errorReportId)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
public static void SendErrorAttachments(string errorReportId, ErrorAttachmentLog[] attachments)
|
||||
{
|
||||
}
|
||||
|
||||
public static AppCenterTask<string> GetMinidumpDirectoryAsync()
|
||||
{
|
||||
return AppCenterTask<string>.FromCompleted("");
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
@@ -0,0 +1,13 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 6fcc6fa30cf3e4471a73d26c3405be12
|
||||
timeCreated: 1512519361
|
||||
licenseType: Pro
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,38 @@
|
||||
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
// Licensed under the MIT license.
|
||||
|
||||
#if UNITY_WSA_10_0 && !UNITY_EDITOR
|
||||
using System;
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
namespace Microsoft.AppCenter.Unity.Crashes.Internal
|
||||
{
|
||||
class WrapperExceptionInternal
|
||||
{
|
||||
public static object Create()
|
||||
{
|
||||
return new object();
|
||||
}
|
||||
|
||||
public static void SetType(object exception, string type)
|
||||
{
|
||||
}
|
||||
|
||||
public static void SetMessage(object exception, string message)
|
||||
{
|
||||
}
|
||||
|
||||
public static void SetStacktrace(object exception, string stacktrace)
|
||||
{
|
||||
}
|
||||
|
||||
public static void SetInnerException(object exception, object innerException)
|
||||
{
|
||||
}
|
||||
|
||||
public static void SetWrapperSdkName(object exception, string sdkName)
|
||||
{
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
@@ -0,0 +1,13 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 3e9e782b8a7114f62b08d96b94bae9bd
|
||||
timeCreated: 1512582940
|
||||
licenseType: Free
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Reference in new issue
Block a user