Thanks for comments, all. Now suppose I want the gadget to receive a
"state change" notification every time the state has changed. (I
don't want to have to continually poll an external site to see if
something has changed; I want a callback notification.)
Is it true that:
1) There is no good way to get a "state-change" callback if I use the
method where I manually store state in an external site?
2) If I use the robot to manage the state, I _will_ get a callback
when a robot changes the state of any gadget?
Thanks,
Rob
On Nov 10, 9:27 pm, Vikram Dhillon <
dhillon...@gmail.com> wrote:
> Hi,
> This could be possible, use a static variable
> to keep the track of the state and then since there's only one copy of
> that variable, it can accessed at any point in the program/robot :)
>
> --
> Regards,
> Vikram
>
> On Tue, Nov 10, 2009 at 1:37 PM, Austin Chau (Google employee)
>
> <
api.aus...@google.com> wrote:
> > No gadget states are specific to each gadget and not shared among other
> > gadgets within the same wave.
>
> > There are several ways to maintain "state" among different gadgets of the
> > same wave, you can maintained your own persistent storage on remote server
> > and use some crossdomain mechanism (jsonp, script injection, etc) to share
> > data. You can also use wave robot to maintain data for you and store them
> > on the wave data document.
>
> > Austin
>
> > On Tue, Nov 10, 2009 at 10:00 AM, rgibson <
rgib...@astro.washington.edu>