@amityco/ts-sdk-react-native
Version:
Amity Social Cloud Typescript SDK
17 lines • 513 B
TypeScript
/**
* ```js
* import { onRoomLeft } from '@amityco/ts-sdk-react-native'
* const dispose = onRoomLeft(room => {
* // ...
* })
* ```
*
* Fired when a user has left a {@link Amity.Room} locally
*
* @param callback The function to call when the event was fired
* @returns an {@link Amity.Unsubscriber} function to stop listening
*
* @category Room Events
*/
export declare const onRoomLeft: (callback: Amity.Listener<Amity.InternalRoom>) => Amity.Unsubscriber;
//# sourceMappingURL=onRoomLeft.d.ts.map