Unity SDK  v1.2.0
Loading...
Searching...
No Matches
WeArt.Bluetooth.ErrorCallback Class Reference

ErrorCallback — proxy callback class to receive and handle or debug errors from BluetoothManager. More...

Inheritance diagram for WeArt.Bluetooth.ErrorCallback:
[legend]

Public Member Functions

 ErrorCallback ()
 
void onError (int errorCode, string message)
 Method calls by Native Android plugin if something went wrong during its activity.
 

Public Attributes

Action< int, string > OnErrorReceived
 Invokes if occurred an error in the BLE plugin.
 

Detailed Description

ErrorCallback — proxy callback class to receive and handle or debug errors from BluetoothManager.

Constructor & Destructor Documentation

◆ ErrorCallback()

WeArt.Bluetooth.ErrorCallback.ErrorCallback ( )
inline

Member Function Documentation

◆ onError()

void WeArt.Bluetooth.ErrorCallback.onError ( int  errorCode,
string  message 
)
inline

Method calls by Native Android plugin if something went wrong during its activity.

Parameters
errorCodeCode of error. Refer to the plugin documentation.
messageMessage with error description.

Member Data Documentation

◆ OnErrorReceived

Action<int, string> WeArt.Bluetooth.ErrorCallback.OnErrorReceived

Invokes if occurred an error in the BLE plugin.


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