scheduleHeartbeat

public static void scheduleHeartbeat(Context context)

Enables heartbeat (sends a fixed message to the server at regular intervals. If the server does not receive any message from the client within a few minutes, the client is considered disconnected.)

Parameters

context

The context