UNPKG

@amityco/ts-sdk-react-native

Version:

Amity Social Cloud Typescript SDK

13 lines 522 B
/** * ```js * import { Client } from '@amityco/ts-sdk' * const unsubscribe = Client.onRTEConnectionStateChange((state) => console.log(state)) * unsubscribe() * ``` * @param callback The function to call when the event was fired * @returns an {@link Amity.Unsubscriber} function to stop listening * * @category Client API */ export declare const onRTEConnectionStateChange: (callback: (state: Amity.RTEConnectionState) => void) => (() => void) | undefined; //# sourceMappingURL=onRTEConnectionStateChange.d.ts.map