Starts the monitor. If the monitor is already started, nothing happens.
public void start()
Stops the monitor. Does nothing if it is already stopped.
public void stop()
Returns the heartbeat messages interval.
public int getInterval()
Sets the interval for sending heartbeat messages if nothing is sent over transport.
public void setInterval(int interval)
Returns the listener.
public com.smartdevicelink.protocol.heartbeat.IHeartbeatMonitorListener getListener()
Sets the heartbeat's listener.
public void setListener(IHeartbeatMonitorListener listener)
Notifies the monitor about sent/received messages.
public void notifyTransportActivity()
Notifies the monitor about a received heartbeat ACK message.
public void heartbeatACKReceived()
Notifies the monitor about a received heartbeat message.
public void heartbeatReceived()