You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
777 B
17 lines
777 B
2 months ago
|
import { ZegoAnyCallback } from '../ZIMEventHandler';
|
||
|
import { ZIMGeofencingType, ZIMCacheConfig, ZIMLogConfig } from "../ZIMDefines";
|
||
|
import { ZIMEngine } from './ZIMEngine';
|
||
|
export declare class ZIMManager {
|
||
|
private static instance;
|
||
|
private handle;
|
||
|
static engineMap: Map<string, ZIMEngine>;
|
||
|
static listeners: Map<string, Map<ZegoAnyCallback, ZegoAnyCallback>>;
|
||
|
static getInstance(): ZIMManager;
|
||
|
getVersion(): Promise<string>;
|
||
|
createEngine(appID: number, appSign: string): ZIMEngine | null;
|
||
|
destroyEngine(engine: ZIMEngine): Promise<void>;
|
||
|
setLogConfig(config: ZIMLogConfig): Promise<void>;
|
||
|
setCacheConfig(config: ZIMCacheConfig): Promise<void>;
|
||
|
setGeofencingConfig(areaList: number[], type: ZIMGeofencingType): Promise<boolean>;
|
||
|
}
|