Esempio n. 1
0
        public void OnDeviceUpdate(string message)
        {
            var deviceList = AndroidUtils.ConvertToBhapticsDevices(message);

            OnUpdateDevicesChange(deviceList);
            RefreshDeviceListUi();
        }
Esempio n. 2
0
        public List <HapticDevice> GetDevices()
        {
            string[] result = androidJavaObject.Call <string[]>("getDeviceList");
            deviceList = AndroidUtils.ConvertToBhapticsDevices(result);


            return(deviceList);
        }
Esempio n. 3
0
        public List <HapticDevice> GetDevices(bool force = false)
        {
            if (force)
            {
                string result = hapticPlayer.Call <string>("getDeviceList");
                deviceList = AndroidUtils.ConvertToBhapticsDevices(result);
            }

            return(deviceList);
        }