public void ScanDevices() { #if UNITY_STANDALONE || UNITY_EDITOR #elif UNITY_ANDROID PluginBLEPM5.StartScanning((ErgData a) => { ergDataEvent = new ErgDataEvent(a); erdataReady = true; print("INTERO_BLE ergdata " + a); }, (StrokeData a) => { strokeDataEvent = new StrokeDataEvent(a); strokeDataReady = true; print("INTERO_BLE stroke " + a); }); #endif }