chicken_dy/Assets/HCMiniSdk/Scripts/WebGL/HCDefault/HCBase.cs

50 lines
1.3 KiB
C#
Raw Permalink Normal View History

2024-03-07 12:12:48 +00:00
using System;
using System.Collections.Generic;
namespace HC
{
public class HCBase : HCIBase
{
public void Vibrate(int shakeType, float intensity = 1)
{
}
public void OpenCustomerService(Dictionary<string, object> param)
{
}
public void ExitApp()
{
#if UNITY_EDITOR
UnityEditor.EditorApplication.isPlaying = false;
#else
//Application.Quit();
#endif
}
public bool StartRecord(bool isRecordAudio, int maxRecordTimeSec = 600, Action startCallback = null, Action<int, string> errorCallback = null, Action<string> timeoutCallback = null)
{
return false;
}
public bool StopRecord(Action<string> completeCallback = null, Action<int, string> errorCallback = null, List<TimeRange> clipRanges = null, bool autoMerge = true)
{
return false;
}
public void CheckScene(string scene, Action<bool> success, Action complete, Action<int, string> error)
{
}
public void NavigateToScene(string scene, Action success, Action complete, Action<int, string> error)
{
}
public void OnShowWithDict(Action<Dictionary<string, object>> param)
{
}
}
}