public interface HealthChangeListener
Receives health-store changes while the app is running. Registered with
HealthStore.subscribe(SubscriptionRequest,HealthChangeListener).
This is a live object held in memory, so it is dropped when the process
dies. To keep receiving changes after the OS relaunches your app in the
background, register a HealthBackgroundListener class instead.
Called on the EDT.
Methods
public abstract void healthDataChanged(HealthChangeBatch batch) | Called when the store reports changes for a subscription. |
Method details
healthDataChanged
public abstract void healthDataChanged(HealthChangeBatch batch)Called when the store reports changes for a subscription.