|
Gocator API
|
| kStatus GoHeartbeat_SetDisconnectHandler | ( | GoHeartbeat | heartbeat, |
| GoHeartbeatDisconnectFx | function, | ||
| kPointer | context | ||
| ) |
Sets the disconnect callback handler.
This callback is invoked when a sensor is detected as disconnected. The callback is invoked from a background thread.
| heartbeat | Heartbeat object. |
| function | Disconnect callback function (or kNULL to unregister). |
| context | Context argument for callback. |