private void StartSearch() { ToggleLockScreen(true); bool shouldReconnect = _autoReconnectOnShow && !_didAttemptReconnect; _wearableControl.SearchForDevices(OnDevicesUpdated, shouldReconnect, _autoReconnectTimeout); _didAttemptReconnect = true; }
private void StartSearch() { if (DeviceSearching != null) { DeviceSearching(); } _wearableControl.SearchForDevices(OnDevicesUpdated); ToggleLockScreen(true); }
/// <summary> /// Initiates a search for devices. /// </summary> internal void StartSearch() { _canvas.enabled = true; _canvasGroup.alpha = 1f; DisableCloseButton(); _wearableControl.DisconnectFromDevice(); var shouldReconnect = _autoReconnectOnShow && !_didAttemptReconnect; _wearableControl.SearchForDevices(OnDevicesUpdated, shouldReconnect, _autoReconnectTimeout); _didAttemptReconnect = true; }