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:
committed by
Mihai Tudor Panu
parent
fb6627083b
commit
9cfd1a9679
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user