WL.NativePage
Method Attributes | Method Name and Description |
---|---|
show(className, callback, data)
|
BarCodeController
).
For Android, the complete name of the class and package (for example, com.neebula.barcode.Scanner
).
// Good
WL.NativePage.show("com.scan.BarCode", function(data){alert(data);}, {key1 : 'value1'});
WL.NativePage.show("com.scan.BarCode", function(data){alert(data);}, {key1 : 'value1', key2 : 'value2'});
// Bad
WL.NativePage.show("com.scan.BarCode", function(data){alert(data);}, {key1 : 'value1', innerStruct : {innerKey1 : 'innervalue1'}});