Beispiel #1
0
        public void FactoryIsMonitorCreated(string options)
        {
            var result = new JsonObjIsMonitorCreated
            {
                // NOTE: add as string so the javascript-result have same types on all platforms!
                IsCreated = (_monitor != null).ToString()
            };
            var pluginResult = new PluginResult(PluginResult.Status.OK, result);

            SendResult(CurrentCommandCallbackId, pluginResult);
        }
 public void FactoryIsMonitorCreated(string options)
 {
     var result = new JsonObjIsMonitorCreated
       {
     // NOTE: add as string so the javascript-result have same types on all platforms!
     IsCreated = (_monitor != null).ToString()
       };
       var pluginResult = new PluginResult(PluginResult.Status.OK, result);
       SendResult(CurrentCommandCallbackId, pluginResult);
 }