Ejemplo n.º 1
0
        public static void OnBleDidInitialize(string message)
        {
            string errorMessage = message != "Success" ? message : null;

#if UNITY_IOS
            Debug.Log("calling scanning peripherals.");
            InitBLE.ScanForPeripherals();
#else
            OnBleDidInitializeEvent?.Invoke(errorMessage);
#endif
        }
        public static void OnBleDidInitialize(string message)
        {
            string errorMessage = message != "Success" ? message : null;

            OnBleDidInitializeEvent?.Invoke(errorMessage);
        }