public static void OnBleDidDisconnect(string message) { string errorMessage = message != "Success" ? message : null; #if UNITY_IPHONE //Debug.Log("calling BLEStatus"); InitBLE.setMatConnectionStatus("DISCONNECTED"); #endif OnBleDidDisconnectEvent?.Invoke(errorMessage); }
public static void OnBleDidDisconnect(string message) { string errorMessage = message != "Success" ? message : null; OnBleDidDisconnectEvent?.Invoke(errorMessage); }