startGyroStreaming method
Start Gyro stream. Gyro stream is stopped if the connection is closed, error occurs during start or stream is disposed.
- Parameters:
- identifier: Polar device id or device address
- settings: selected settings to start the stream
Implementation
Stream<PolarGyroData> startGyroStreaming(
String identifier, {
PolarSensorSetting? settings,
}) {
return _startStreaming(
PolarDataType.gyro,
identifier,
settings: settings,
).map(PolarGyroData.fromJson);
}