The Tizen implementation of sensors_plus
.
This package is not an endorsed implementation of 'sensors_plus'. Therefore, you have to include sensors_plus_tizen
alongside sensors_plus
as dependencies in your pubspec.yaml
file.
dependencies:
sensors_plus: ^1.2.1
sensors_plus_tizen: ^1.1.0
Then you can import sensors_plus
in your Dart code:
import 'package:sensors_plus/sensors_plus.dart';
For detailed usage, see https://pub.dev/packages/sensors_plus#usage.
- Galaxy Watch series (running Tizen 4.0 or later)
-
accelerometerEvents
(maps toSENSOR_ACCELEROMETER
) -
gyroscopeEvents
(maps toSENSOR_GYROSCOPE
) -
userAccelerometerEvents
(maps toSENSOR_LINEAR_ACCELERATION
) -
magnetometerEvents
(no supported devices)
You need to declare one or more of the following features in your tizen-manifest.xml
if you plan to release your app on the app store (to enable feature-based filtering).
<feature name="http://tizen.org/feature/sensor.accelerometer"/>
<feature name="http://tizen.org/feature/sensor.gyroscope"/>
<feature name="http://tizen.org/feature/sensor.linear_acceleration"/>