Example #1
0
 void InterfaceEventProxy_DisplayText(DisplayTextEventArgs args)
 {
     TextDisplay = new TextDisplay()
     {
         Text     = args.Text,
         Duration = args.Duration
     };
 }
Example #2
0
        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);
        }
Example #3
0
 private void HandleDisplayText(object sender, DisplayTextEventArgs args)
 {
     OnDisplayText(sender, args);
 }
 public void DisplayTextProxyHandler(DisplayTextEventArgs args)
 {
     DisplayText?.Invoke(args);
 }