conreality_pulse 0.1.0 conreality_pulse: ^0.1.0 copied to clipboard
Player heart-rate monitoring support for Conreality live-action games.
conreality_pulse #
Player heart-rate monitoring support for Conreality live-action games.
Compatibility #
Android only, at present. (iOS support is planned.)
Examples #
Importing the package #
import 'package:conreality_pulse/conreality_pulse.dart';
Subscribing to heart-rate updates #
Stream<PulseEvent> stream = await Pulse.subscribe();
stream.listen((PulseEvent event) {
print("Your current heart rate is: ${event.value}");
});
Features #
Supported Devices #
Installation #
pubspec.yaml
using Pub #
dependencies:
# See: https://pub.dev/packages/conreality_pulse
conreality_pulse: ^0.1.0
pubspec.yaml
using Git #
dependencies:
# See: https://github.com/conreality/conreality-plugins/tree/master/conreality_pulse
conreality_pulse:
git:
url: https://github.com/conreality/conreality-plugins.git
path: conreality_pulse