зеркало из https://github.com/xamarin/mac-samples.git
31f7d6c631 | ||
---|---|---|
.. | ||
Resources | ||
Screenshots | ||
AppDelegate.cs | ||
AppDelegate.designer.cs | ||
HeartBeat.cs | ||
HeartBeatEventArgs.cs | ||
HeartRateMonitor.cs | ||
HeartRateMonitor.csproj | ||
HeartRateMonitor.sln | ||
HeartRateMonitorLocation.cs | ||
HeartRateMonitorTableDataSource.cs | ||
Info.plist | ||
Main.cs | ||
MainMenu.xib | ||
MainWindow.cs | ||
MainWindow.designer.cs | ||
MainWindow.xib | ||
MainWindowController.cs | ||
Metadata.xml | ||
README.md |
README.md
name | description | page_type | languages | products | urlFragment | ||
---|---|---|---|---|---|---|---|
Xamarin.Mac - HeartRateMonitor | The CoreBluetooth framework provides the classes needed for your iOS and Mac apps to communicate with devices that are equipped with Bluetooth low... | sample |
|
|
heartratemonitor |
HeartRateMonitor with Xamarin.Mac
The CoreBluetooth
framework provides the classes needed for your iOS and Mac apps to communicate with devices that are equipped with Bluetooth low energy wireless technology, such as heart rate monitors, cycling cadence sensors, and temperature monitors.
This sample demonstrates: discovering, connecting to, and retrieving heart rate data from Bluetooth LE heart rate monitors.
It shows the location of the monitor (chest, wrist, foot, etc.), the current heart rate in beats per minute, and animates a heart beating at the same speed reported by the connected device.
Requirements
Mac computer must support Bluetooth, have Bluetooth enabled, and be used with a compatible Bluetooth-enabled heart rate monitor device.