Skip to content
SiteEmail

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

Name
virtual voidStart()
Name
virtual abstract voidOnSetKeyboardOptionsCallback() =0
virtual abstract voidOnFocusCallback(string content) =0
virtual stringOnBlurCallback()
voidRefreshText(string text)
Name
CohtmlViewViewComponent
Returns the CohtmlView component.
Name
CohtmlViewm_View
virtual void Start()

Reimplemented by: cohtml.CohtmlTouchKeyboard.Start

virtual abstract void OnSetKeyboardOptionsCallback() =0

Reimplemented by: cohtml.CohtmlTouchKeyboard.OnSetKeyboardOptionsCallback

virtual abstract void OnFocusCallback(
string content
) =0

Reimplemented by: cohtml.CohtmlTouchKeyboard.OnFocusCallback

virtual string OnBlurCallback()

Reimplemented by: cohtml.CohtmlTouchKeyboard.OnBlurCallback

void RefreshText(
string text
)
CohtmlView ViewComponent;

Returns the CohtmlView component.

CohtmlView m_View;