java: fix Java return types in h3lis331dl

Signed-off-by: Petre Eftime <petre.p.eftime@intel.com>
Signed-off-by: Mihai Tudor Panu <mihai.tudor.panu@intel.com>
This commit is contained in:
Petre Eftime
2015-08-28 18:12:02 +03:00
committed by Mihai Tudor Panu
parent fb6627083b
commit 9cfd1a9679
3 changed files with 83 additions and 0 deletions

View File

@@ -593,6 +593,30 @@ namespace upm {
*/
void getXYZ(int *x, int *y, int *z);
#ifdef SWIGJAVA
/**
* Gets acceleration values for each of the axes
*
* @return Array containing X, Y, Z acceleration values
*/
float *getAcceleration();
/**
* Gets raw axis values
*
* @return Array containing X, Y, Z raw values
*/
int *getRawXYZ();
/**
* Gets adjusted axis values
*
* @return Array containing X, Y, Z adjusted axis values
*/
int *getXYZ();
#endif
/**
* Provides public access to the MRAA I2C context of the class for
* direct user access