UNPKG

@amityco/ts-sdk-react-native

Version:

Amity Social Cloud Typescript SDK

15 lines 519 B
/** * ```js * import { startHeartbeat } from '@amityco/ts-sdk-react-native' * startHeartbeat('roomId') * ``` * * Starts sending heartbeat signals for a specific room to maintain presence status. * This enables the room presence tracking and notifies the server that the user is actively viewing the room. * * @param roomId The ID of the room to start heartbeat for * * @category Room Presence API */ export declare const startHeartbeat: (roomId: string) => void; //# sourceMappingURL=startHeartbeat.d.ts.map