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 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 by HealthDataStore.disconnectService(). It is only invoked if the health data service crashes.
        Since:
        1.0.0