app center;增加發送ping的秒

This commit is contained in:
Caiyanpeng committed 2021-11-12 16:21:13 +08:00
1 parent 1bd1ffdb5a
commit d754ff3b15
719 files changed
+34172 -2875

No files matched your search

@@ -0,0 +1,125 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license.
#if (!UNITY_IOS && !UNITY_ANDROID && !UNITY_WSA_10_0) || UNITY_EDITOR
using System;
using Microsoft.AppCenter.Unity;
namespace Microsoft.AppCenter.Unity.Internal
{
#if UNITY_IOS && !UNITY_EDITOR
using RawType = System.IntPtr;
using ServiceType = System.IntPtr;
#elif UNITY_ANDROID && !UNITY_EDITOR
using RawType = UnityEngine.AndroidJavaObject;
using ServiceType = System.IntPtr;
#else
using RawType = System.Object;
using ServiceType = System.Type;
#endif
class AppCenterInternal
{
public static void Configure(string appSecret)
{
}
public static string GetSdkVersion()
{
return "";
}
public static void Start(string appSecret, ServiceType[] services, int numServices)
{
}
public static void StartServices(ServiceType[] services, int numServices)
{
}
public static void Start(string appSecret, ServiceType[] services)
{
}
public static void Start(ServiceType[] services)
{
}
public static void Start(ServiceType service)
{
}
public static void StartFromLibrary(ServiceType[] services)
{
}
public static void SetLogLevel(int logLevel)
{
}
public static void SetUserId(string userId)
{
}
public static int GetLogLevel()
{
return 0;
}
public static bool IsConfigured()
{
return false;
}
public static void SetLogUrl(string logUrl)
{
}
public static bool IsNetworkRequestsAllowed()
{
return true;
}
public static void SetNetworkRequestsAllowed(bool isAllowed)
{
}
public static AppCenterTask SetEnabledAsync(bool enabled)
{
return AppCenterTask.FromCompleted();
}
public static AppCenterTask<bool> IsEnabledAsync()
{
return AppCenterTask<bool>.FromCompleted(false);
}
public static AppCenterTask<string> GetInstallIdAsync()
{
return AppCenterTask<string>.FromCompleted("");
}
public static void SetCustomProperties(RawType properties)
{
}
public static void SetWrapperSdk(string wrapperSdkVersion,
string wrapperSdkName,
string wrapperRuntimeVersion,
string liveUpdateReleaseLabel,
string liveUpdateDeploymentKey,
string liveUpdatePackageHash)
{
}
public static ServiceType[] ServicesToNativeTypes(ServiceType[] services)
{
return null;
}
public static void SetMaxStorageSize(long size)
{
}
}
}
#endif
@@ -0,0 +1,12 @@
fileFormatVersion: 2
guid: 7050ffe906ee8c14e8dc588aab4acd37
timeCreated: 1497373095
licenseType: Pro
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,37 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license.
#if (!UNITY_IOS && !UNITY_ANDROID && !UNITY_WSA_10_0) || UNITY_EDITOR
using System;
namespace Microsoft.AppCenter.Unity
{
public partial class AppCenterTask<TResult>
{
public TResult Result { get; private set; }
public Exception Exception { get; private set; }
internal void SetResult(TResult result)
{
lock (_lockObject)
{
ThrowIfCompleted();
Result = result;
CompletionAction();
}
}
internal void SetException(Exception exception)
{
lock (_lockObject)
{
ThrowIfCompleted();
Exception = exception;
CompletionAction();
}
}
}
}
#endif
@@ -0,0 +1,12 @@
fileFormatVersion: 2
guid: 6f7f7f60f8159444190ef178255060ca
timeCreated: 1501269073
licenseType: Pro
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
@@ -0,0 +1,45 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license.
#if (!UNITY_IOS && !UNITY_ANDROID && !UNITY_WSA_10_0) || UNITY_EDITOR
using System;
namespace Microsoft.AppCenter.Unity.Internal
{
#if UNITY_IOS
using RawType = System.IntPtr;
#elif UNITY_ANDROID
using RawType = UnityEngine.AndroidJavaObject;
#else
using RawType = System.Object;
#endif
class CustomPropertiesInternal
{
public static RawType Create()
{
return default(RawType);
}
public static void SetString(RawType properties, string key, string val)
{
}
public static void SetNumber(RawType properties, string key, object val)
{
}
public static void SetBool(RawType properties, string key, bool val)
{
}
public static void SetDate(RawType properties, string key, DateTime val)
{
}
public static void Clear(RawType properties, string key)
{
}
}
}
#endif
@@ -0,0 +1,12 @@
fileFormatVersion: 2
guid: 74599edfdf514453db93e40271b07655
timeCreated: 1498578955
licenseType: Pro
MonoImporter:
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant: