GvrKeyboardDelegateBase

This is an abstract class.

An abstract interface for GvrKeyboard methods.

Summary

An abstract class instead of an interface so that it can be exposed in Unity's editor.

It inherits from MonoBehaviour so that it can be directly used as a game object.

Inheritance

Inherits from: MonoBehaviour

Events

KeyboardHidden
abstract EventHandler
Event for the keyboard being hidden.
KeyboardShown
abstract EventHandler
Event for the keyboard being shown.

Public functions

OnKeyboardEnterPressed(string edit_text)
virtual abstract void
Called when the ENTER key is pressed on the keyboard.
OnKeyboardError(GvrKeyboardError errorCode)
virtual abstract void
Called when there is an error with the keyboard.
OnKeyboardHide()
virtual abstract void
Called to hide the keyboard.
OnKeyboardShow()
virtual abstract void
Called to show the keyboard.
OnKeyboardUpdate(string edit_text)
virtual abstract void
Called to update the keyboard.

Events

KeyboardHidden

abstract EventHandler KeyboardHidden

Event for the keyboard being hidden.

KeyboardShown

abstract EventHandler KeyboardShown

Event for the keyboard being shown.

Public functions

OnKeyboardEnterPressed

virtual abstract void OnKeyboardEnterPressed(
  string edit_text
)

Called when the ENTER key is pressed on the keyboard.

Details
Parameters
edit_text
The current text for the keyboard.

OnKeyboardError

virtual abstract void OnKeyboardError(
  GvrKeyboardError errorCode
)

Called when there is an error with the keyboard.

Details
Parameters
errorCode
The code of the error encountered.

OnKeyboardHide

virtual abstract void OnKeyboardHide()

Called to hide the keyboard.

OnKeyboardShow

virtual abstract void OnKeyboardShow()

Called to show the keyboard.

OnKeyboardUpdate

virtual abstract void OnKeyboardUpdate(
  string edit_text
)

Called to update the keyboard.

Details
Parameters
edit_text
The current text for the keyboard.