Custom Widget - how to use the api functions from the SDK

Custom Widget - how to use the api functions from the SDK

@SA

I was able to follow along the how to and build a custom widget. It imports a specific javascript include which exposes a limited set of functions such as sendData.

Can we use the entire SDK inside the custom widget? For instance, can we read data from a random device not associated with the widget?

Here is my use case - I want to store some data and give the user the ability to edit it. While the example allows me to store the data, I am not sure how to retrieve the most current data for the variable within a custom widget.

Thanks.