com.samsung.android.sdk.healthdata
Interface HealthDataStore.ConnectionListener
-
- Enclosing class:
- HealthDataStore
public static interface HealthDataStore.ConnectionListener
This interface provides the callback when the client is connected or disconnected with the health data store.- Since:
- 1.0.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description void
onConnected()
Called when a connection to the health data store has been established.void
onConnectionFailed(HealthConnectionErrorResult error)
Called when a connection to the health data store has failed.void
onDisconnected()
Called when a connection to the health data store has been lost.
-
-
-
Method Detail
-
onConnected
void onConnected()
Called when a connection to the health data store has been established.
It is invoked after creating a HealthDataStore instance.- Since:
- 1.0.0
-
onConnectionFailed
void onConnectionFailed(HealthConnectionErrorResult error)
Called when a connection to the health data store has failed.
Note that it is invoked after creating a HealthDataStore instance.- Since:
- 1.0.0
-
onDisconnected
void onDisconnected()
Called when a connection to the health data store has been lost.
Note that it is not invoked caused byHealthDataStore.disconnectService()
. It is only invoked if the health data service crashes.- Since:
- 1.0.0
-
-