startGyroStreaming method

Stream<PolarGyroData> startGyroStreaming(
  1. String identifier, {
  2. PolarSensorSetting? settings,
})

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);
}