CalibrationEventListener

public interface CalibrationEventListener

Interface to receive CalibrationEvents.

Methods

onCalibrationChanged

void onCalibrationChanged(CalibrationEvent event)

Called when there is a new calibration event.

Note that some devices need special instruction for correct calibration:

: The device must be static with the Z axis pointing up for 1 second. Refer to the datasheet for the orientation.

: The device must be static for 1 second.

: The device must waved in a figure 8 in a somewhat noise free environment until it reports a successful calibration (~5 seconds).

When an event is received, the calibration procedure is done.

Parameters