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
Section titled “Public Functions”| Name | |
|---|---|
| virtual void | Start() |
Protected Functions
Section titled “Protected Functions”| Name | |
|---|---|
| virtual abstract void | OnSetKeyboardOptionsCallback() =0 |
| virtual abstract void | OnFocusCallback(string content) =0 |
| virtual string | OnBlurCallback() |
| void | RefreshText(string text) |
Public Properties
Section titled “Public Properties”| Name | |
|---|---|
| CohtmlView | ViewComponent Returns the CohtmlView component. |
Protected Attributes
Section titled “Protected Attributes”| Name | |
|---|---|
| CohtmlView | m_View |
Public Functions Documentation
Section titled “Public Functions Documentation”function Start
Section titled “function Start”virtual void Start()Reimplemented by: cohtml.CohtmlTouchKeyboard.Start
Protected Functions Documentation
Section titled “Protected Functions Documentation”function OnSetKeyboardOptionsCallback
Section titled “function OnSetKeyboardOptionsCallback”virtual abstract void OnSetKeyboardOptionsCallback() =0Reimplemented by: cohtml.CohtmlTouchKeyboard.OnSetKeyboardOptionsCallback
function OnFocusCallback
Section titled “function OnFocusCallback”virtual abstract void OnFocusCallback( string content) =0Reimplemented by: cohtml.CohtmlTouchKeyboard.OnFocusCallback
function OnBlurCallback
Section titled “function OnBlurCallback”virtual string OnBlurCallback()Reimplemented by: cohtml.CohtmlTouchKeyboard.OnBlurCallback
function RefreshText
Section titled “function RefreshText”void RefreshText( string text)Public Property Documentation
Section titled “Public Property Documentation”property ViewComponent
Section titled “property ViewComponent”CohtmlView ViewComponent;Returns the CohtmlView component.
Protected Attributes Documentation
Section titled “Protected Attributes Documentation”variable m_View
Section titled “variable m_View”CohtmlView m_View;© 2026 Coherent Labs. All rights reserved.