void InterfaceEventProxy_DisplayText(DisplayTextEventArgs args) { TextDisplay = new TextDisplay() { Text = args.Text, Duration = args.Duration }; }
private void HandleTerminalDisplay(object sender, DisplayTextEventArgs args) { Dictionary <string, string> data = new Dictionary <string, string>() { { "method", JS_FUNC_ONDISPLAY }, { "payload", JsonConvert.SerializeObject(args) } }; ctx.Post(CallJSCallback, data); }
private void HandleDisplayText(object sender, DisplayTextEventArgs args) { OnDisplayText(sender, args); }
public void DisplayTextProxyHandler(DisplayTextEventArgs args) { DisplayText?.Invoke(args); }