Example #1
0
 public TableSource(object scanResult, ResultViewController parent)
 {
     // in our example app, we dynamically extract result values from the object via reflection.
     // Usually, you can just cast the result to the object type that matches your ScanPlugin type (e.g. ALMeterResult for ALMeterScanPlugin etc.)
     TableItems = scanResult.CreatePropertyDictionary();
 }
 public TableSource(Dictionary <string, object> scanResult, ResultViewController parent)
 {
     TableItems = scanResult;
 }
Example #3
0
        // we call this method in every case a result is received and deal with processing that result in the ResultViewController
        void HandleResult(object result)
        {
            var resultViewController = new ResultViewController(result);

            _scanViewController.NavigationController?.PushViewController(resultViewController, false);
        }