com.samsung.android.sdk.healthdata

Class HealthDataResolver.ReadResult

    • Method Detail

      • getResultCursor

        public Cursor getResultCursor()
        Gets a Cursor object for the requested health data. Check health data of the result as moving it to the next.
        Returns:
        The Cursor object, or
        null if the request doesn't work caused by an unknown error.
        Since:
        1.0.0
      • getDataType

        public String getDataType()
        Gets a data type for the requested health data.
        Returns:
        The data type
        Since:
        1.0.0
      • iterator

        public Iterator<HealthData> iterator()
        Returns an iterator over the HealthData objects in this result in proper sequence.
        Returns:
        An iterator of this result.
        Since:
        1.3.0
      • close

        public void close()
        Closes this result, releasing all of its resources and making it completely invalid.
        Calling this method, the result will not be valid any more.
        Since:
        1.3.0