fluttercommunity / fluttercommunity/plus_plugins
[Request]: Adjusting sample rate for web with Sensors Plus plugin
- Lingua principale
- Dart
- Stelle
- 1.9k
- Fork
- 1.3k
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
### Plugin
Sensors Plus
### Use case
There has been a discussion about adjusting the sample rate for sensor data in the Sensors_plus flutter package (https://github.com/flutter/flutter/issues/25971). (Sensors_plus is the only sensor package for web).
Following the above thread, I managed to adjust the rate when building for Android, by changing SENSOR_DELAY_NORMAL to SENSOR_DELAY_GAME.
Now my question is: Is there a way to adjust the sample rate for sensordata when building for web?
### Proposal
Be able to adjust the sample rate / update rate for sensor data when building for web? For the sensors in the package (Gyroscope, Accelerometer etc.)
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Inizia esaminando l'implementazione web del package Sensors Plus e la discussione collegata di Flutter sulle frequenze di campionamento dei sensori. Determina come potrebbe essere esposta una frequenza di campionamento o aggiornamento configurabile per i sensori elencati; il lavoro è completato quando la build web supporta la modifica richiesta con un comportamento documentato.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- dart, flutter
- Ambito
- web-dev
- Tipo di issue
- Funzionalità
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 30/100