View Single Post
Posts: 15 | Thanked: 17 times | Joined on Sep 2019
#2
I realised that TypedCallWithReturn has been replaced by TypedCall.

So now I get error message:
[W] unknown:60 - file:///usr/share/CellMon/qml/components/DBus.qml:60:5: QML DBusInterface: QDBusError("org.freedesktop.DBus.Error.UnknownMeth od", "Method \"ServingCellInformationChanged\" with signature \"\" on interface \"org.ofono.NetworkMonitorAgent\" doesn't exist\n")
Code:
Component.onCompleted: {
            ooNMA.typedCall('ServingCellInformationChanged',[],
               function (result) {                  console.log('ServingCellInformationChanged: ' + result);                    }             );
        }
I still don't know if "ServingCellInformationChanged" is to setup a callback , as above. OR is it supposed to be signal type function that will just be called if it is provided?
 

The Following User Says Thank You to crun For This Useful Post: