MetaWear C# SDK  1.0.0
C# API for MbientLab's sensor platform
Classes | Static Public Member Functions | List of all members
MbientLab.MetaWear.Win10.Application Class Reference

Entry point into the MetaWear API for UWP or .NET console apps More...

Static Public Member Functions

static void SetCacheFolder (string path)
 Set the path the API uses to cache data More...
 
static IMetaWearBoard GetMetaWearBoard (BluetoothLEDevice device)
 Instantiates an IMetaWearBoard object corresponding to the BluetoothLE device More...
 
static void RemoveMetaWearBoard (BluetoothLEDevice device, bool dispose=false)
 Removes the IMetaWearBoard object corresponding to the BluetoothLE device More...
 
static async Task ClearDeviceCacheAsync (BluetoothLEDevice device)
 Clears cached information specific to the BluetoothLE device More...
 

Detailed Description

Entry point into the MetaWear API for UWP or .NET console apps

Member Function Documentation

◆ ClearDeviceCacheAsync()

static async Task MbientLab.MetaWear.Win10.Application.ClearDeviceCacheAsync ( BluetoothLEDevice  device)
inlinestatic

Clears cached information specific to the BluetoothLE device

Parameters
deviceBluetoothLE device to clear
Returns
Null task

◆ GetMetaWearBoard()

static IMetaWearBoard MbientLab.MetaWear.Win10.Application.GetMetaWearBoard ( BluetoothLEDevice  device)
inlinestatic

Instantiates an IMetaWearBoard object corresponding to the BluetoothLE device

Parameters
deviceBluetoothLE device object corresponding to the target MetaWear board
Returns
IMetaWearBoard object

◆ RemoveMetaWearBoard()

static void MbientLab.MetaWear.Win10.Application.RemoveMetaWearBoard ( BluetoothLEDevice  device,
bool  dispose = false 
)
inlinestatic

Removes the IMetaWearBoard object corresponding to the BluetoothLE device

Parameters
deviceBluetoothLE device object corresponding to the target MetaWear board
disposeTrue if existing references to the BluetoothLEDevice object should be disposed of

◆ SetCacheFolder()

static void MbientLab.MetaWear.Win10.Application.SetCacheFolder ( string  path)
inlinestatic

Set the path the API uses to cache data

Parameters
pathNew path to use

The documentation for this class was generated from the following file: