cohtml.VirtualKeyboard
Abstract class that subscribes to the TextInputHandler callbacks of a CohtmlView. The callbacks are triggered when an input field in the UI is focused or unfocused.
Inherits from MonoBehaviour
Inherited by cohtml.CohtmlTouchKeyboard
Public Functions
| Name | |
|---|---|
| virtual void | Start() |
Protected Functions
| Name | |
|---|---|
| virtual abstract void | OnSetKeyboardOptionsCallback() =0 |
| virtual abstract void | OnFocusCallback(string content) =0 |
| virtual string | OnBlurCallback() |
| void | RefreshText(string text) |
Public Properties
| Name | |
|---|---|
| CohtmlView | ViewComponent Returns the CohtmlView component. |
Protected Attributes
| Name | |
|---|---|
| CohtmlView | m_View |
Public Functions Documentation
function Start
virtual void Start()
Reimplemented by: cohtml.CohtmlTouchKeyboard.Start
Protected Functions Documentation
function OnSetKeyboardOptionsCallback
virtual abstract void OnSetKeyboardOptionsCallback() =0
Reimplemented by: cohtml.CohtmlTouchKeyboard.OnSetKeyboardOptionsCallback
function OnFocusCallback
virtual abstract void OnFocusCallback(
string content
) =0
Reimplemented by: cohtml.CohtmlTouchKeyboard.OnFocusCallback
function OnBlurCallback
virtual string OnBlurCallback()
Reimplemented by: cohtml.CohtmlTouchKeyboard.OnBlurCallback
function RefreshText
void RefreshText(
string text
)
Public Property Documentation
property ViewComponent
CohtmlView ViewComponent;
Returns the CohtmlView component.
Protected Attributes Documentation
variable m_View
CohtmlView m_View;