public override void OnKeyboardError(GvrKeyboardError errCode) { Debug.Log("Calling Keyboard Error Delegate: "); switch (errCode) { case GvrKeyboardError.UNKNOWN: Debug.Log("Unknown Error"); break; case GvrKeyboardError.SERVICE_NOT_CONNECTED: Debug.Log("Service not connected"); break; case GvrKeyboardError.NO_LOCALES_FOUND: Debug.Log("No locales found"); break; case GvrKeyboardError.SDK_LOAD_FAILED: Debug.LogWarning(DD_KEYBOARD_NOT_INSTALLED_MSG); if (KeyboardText != null) { KeyboardText.text = DD_KEYBOARD_NOT_INSTALLED_MSG; } if (UpdateCanvas != null) { UpdateCanvas.gameObject.SetActive(true); } break; } }
public abstract void OnKeyboardError(GvrKeyboardError errorCode);
public override void OnKeyboardError(GvrKeyboardError errorCode) { Debug.Log($"Keyboard error: {errorCode}"); }