Pixels Plugin for Unity
Enable communications with Pixels dice using Bluetooth Low Energy.
Loading...
Searching...
No Matches
com.systemic.bluetoothle.BluetoothState Class Reference

Static class that notifies off Bluetooth adapter state changes. More...

Classes

interface  StateCallback
 Interface for MTU change request callbacks. More...
 

Static Public Member Functions

static void Start (final StateCallback callback)
 Starts monitoring for Bluetooth adapter state changes.
 
static void Stop ()
 Stops monitoring for Bluetooth adapter state changes.
 
static int GetState ()
 Gets the Bluetooth adapter state.
 

Detailed Description

Static class that notifies off Bluetooth adapter state changes.

Member Function Documentation

◆ Start()

static void com.systemic.bluetoothle.BluetoothState.Start ( final StateCallback  callback)
static

Starts monitoring for Bluetooth adapter state changes.

Parameters
callbackThe callback for notifying of state changes.

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