Thanks, Armaan.
So I created a complication provider in my app to respond to update requests, but I’m still confused on how to tell the complication client that data has changed so that it would request an update.
What I did was creating a static method in the provider class itself, which I’m calling from other parts in my app when the complication data has changed.
public static void Notify() {
MyComplicationProvider provider = new MyComplicationProvider(Constants.COMPLICATION_PROVIDER);
provider.NotifyUpdate();
}
However as soon as that method is called I get this error: “Invalid parameter : fail to create provider”
I don’t know if this is the correct way of using NotifyUpdate or what could be missing…
Another thing… I know this feature required Tizen API 6 so I assume that code would crash on a device with a lower level… is there a way to check if the device supports this feature before trying to call the NotifyUpdate method?
Thanks.