Expand Minimize Picture-in-picture Power Device Status Voice Recognition Skip Back Skip Forward Minus Plus Play Search
Internet Explorer alert
This browser is not recommended for use with smartdevicelink.com, and may not function properly. Upgrade to a different browser to guarantee support of all features.
close alert
To Top Created with Sketch. To Top
To Bottom Created with Sketch. To Bottom
Android Documentation
IHeartbeatMonitorListener

Interface IHeartbeatMonitorListener

Package
com.smartdevicelink.protocol.heartbeat

Overview

Listener (aka delegate) that actually knows how to work with the outside world.

Methods

sendHeartbeat( IHeartbeatMonitor monitor )

The listener should create and send a heartbeat message.

public void sendHeartbeat(IHeartbeatMonitor monitor)

Method Parameters

monitor
the caller

heartbeatTimedOut( IHeartbeatMonitor monitor )

Notifies the listener that the heartbeat timed out.

public void heartbeatTimedOut(IHeartbeatMonitor monitor)

Method Parameters

monitor
the caller
View on GitHub.com
Previous Section Next Section