Client API. The Codename One framework your app is built on: this runs on the device, not in a backend.

public interface ListenerRegistration

A running snapshot listener.

Methods

public abstract void remove()Stops the listener.
public abstract boolean isLive()

Method details

remove

public abstract void remove()
Stops the listener. No callback arrives after this returns.

isLive

public abstract boolean isLive()

Returns

true while updates arrive over the live WebChannel, false while the listener polls