agora-react-native-rtm
Version:
React Native around the Agora RTM SDKs for Android and iOS agora
6 lines • 372 B
TypeScript
import { RTMClient } from '../api/RTMClient';
import { RTMClientEventMap } from '../api/RTMEvents';
type Nullable<T> = T | null | undefined;
export declare function useRtmEvent<EventType extends keyof RTMClientEventMap>(client: Nullable<RTMClient>, event: EventType, listener: Nullable<(...args: any[]) => void>): void;
export {};
//# sourceMappingURL=useRtmEvent.d.ts.map