diff options
Diffstat (limited to 'native')
-rw-r--r-- | native/android/sensor.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/native/android/sensor.cpp b/native/android/sensor.cpp index 3f37ed1..b09bc2e 100644 --- a/native/android/sensor.cpp +++ b/native/android/sensor.cpp @@ -171,3 +171,8 @@ const char* ASensor_getStringType(ASensor const* sensor) { return static_cast<Sensor const*>(sensor)->getStringType().string(); } + +int ASensor_getReportingMode(ASensor const* sensor) +{ + return static_cast<Sensor const*>(sensor)->getReportingMode(); +} |