UNPKG

@amityco/ts-sdk-react-native

Version:

Amity Social Cloud Typescript SDK

15 lines 496 B
/** * ```js * import { stopHeartbeat } from '@amityco/ts-sdk-react-native' * stopHeartbeat('roomId') * ``` * * Stops sending heartbeat signals for a specific room. * This disables the room presence tracking for the specified room and stops notifying the server of the user's presence. * * @param roomId The ID of the room to stop heartbeat for * * @category Room Presence API */ export declare const stopHeartbeat: (roomId: string) => void; //# sourceMappingURL=stopHeartbeat.d.ts.map