Regards,
I hope someone can help me.
It is I am implementing a library that handles an api in java like the following example:
The parameter defined as new HotImageCallback.Stub ()..... as B4A would be represented with a javaobject?
I hope someone can help me.
It is I am implementing a library that handles an api in java like the following example:
Java:
TemperatureData temperatureData = temperatureUtil.getDataAndBitmap(distances,true, new HotImageCallback.Stub() {
@Override
public void onTemperatureFail(String e) {
Log.i("getDataAndBitmap", "onTemperatureFail " + e);
showTip("Failed to get temperature: " + e);
}
@Override
public void getTemperatureBimapData(final TemperatureBitmapData data) {
runOnUiThread(new Runnable() {
@Override
public void run() {
image.setImageBitmap(data.getBitmap());
}
});
}
});
The parameter defined as new HotImageCallback.Stub ()..... as B4A would be represented with a javaobject?