using System; using System.Collections.Generic; namespace HC { public interface HCIBase { void Vibrate(int shakeType, float intensity = 1); #if UNITY_WEBGL && WEBGL_BYTEDANCE bool StartRecord(bool isRecordAudio, int maxRecordTimeSec = 600, Action startCallback = null, Action errorCallback = null, Action timeoutCallback = null); bool StopRecord(Action completeCallback = null, Action errorCallback = null, List clipRanges = null, bool autoMerge = true); void CheckScene(string scene, Action success, Action complete, Action error); void NavigateToScene(string scene, Action success, Action complete, Action error); void OnShowWithDict(Action> param); #endif void OpenCustomerService(Dictionary param); void ExitApp(); } public struct TimeRange { /// 开始时间,单位ms public int start; /// 结束时间,单位ms public int end; } }