net.rim.device.api.system
Interface MagnetometerListener

All Known Implementing Classes:
CompassField

public interface MagnetometerListener

Listener for magnetometer notifications.

The listener is notified when the channel receives new magnetometer data.

Since:
BlackBerry API 7.0.0

Method Summary
 void onData(MagnetometerData magData)
          Notifies listener with new magnetometer data.
 



Method Detail

onData

void onData(MagnetometerData magData)
Notifies listener with new magnetometer data.

Parameters:
magData - The magnetometer data.
Since:
BlackBerry API 7.0.0





Copyright 1999-2011 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Java is a trademark of Oracle America Inc. in the US and other countries.
Legal