Interface HealthChangeListener
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.
-
Method Summary
Modifier and TypeMethodDescriptionvoidCalled when the store reports changes for a subscription.
-
Method Details
-
healthDataChanged
Called when the store reports changes for a subscription.
-