I can't get value from the following code in JavaScript.
Here my code:
public void isEnabled(Callback isEnabled) {
isEnabled.invoke(wifi.isWifiEnabled());
}
How do I get at the return value of the expression wifi.isWifiEnabled() in JavaScript (react-native)?