agora-react-native-rtm
Version:
React Native around the Agora RTM SDKs for Android and iOS agora
16 lines • 747 B
TypeScript
import { LinkStateEvent, LockEvent, MessageEvent, PresenceEvent, StorageEvent, TopicEvent } from '../legacy/IAgoraRtmClient';
export interface RTMClientEventMap {
presence: (presenceData: PresenceEvent) => void;
message: (message: MessageEvent) => void;
storage: (storageData: StorageEvent) => void;
lock: (lockInfo: LockEvent) => void;
topic: (topicEvent: TopicEvent) => void;
tokenPrivilegeWillExpire: (channelName: string) => void;
linkState: (linkState: LinkStateEvent) => void;
}
/**
* @ignore
*/
export declare function cleanIrisExtraData(data: any): any;
export declare function processRTMClientEventMap(handler: RTMClientEventMap, event: string, jsonParams: any): void;
//# sourceMappingURL=RTMEvents.d.ts.map