Releases: asleep-ai/asleep-sdk-android
Releases · asleep-ai/asleep-sdk-android
3.0.0 beta
- Model H has been applied.
CAUTION: This version is unstable and not recommended for use. It may be discontinued at any time.
2.4.3
2.4.2
- Added AsleepLogger Interface: A new interface, AsleepLogger, has been introduced, featuring four methods: d, e, i, and w.
- Enhanced Configuration with Logging: The initAsleepConfig function has been updated to include an AsleepLogger parameter as its final argument.
- Removed Direct Android Log Outputs: In alignment with our new logging approach, direct usage of the Android Log class within the SDK has been removed.
2.4.1
- Added an optional 'isPrivacySensitive' parameter to 'startSleepTracking()' to optionally select the privacy sensitive feature of the AudioRecord. The default is true.
2.4.0
- Add snoring data to Report and Average Stats.
- Add setPrivacySensitive during Recording.
2.3.1
2.3.1 Hotfix
- Added InterruptedException handling for the "stop tracking" feature.
- Responses to uploads after "stop tracking" has been initiated will now be ignored.
2.3.0
- Average-stats, sleep_index are added.
- Added functionality to continue the session.
- Changed some functions to asynchronous processing.
2.2.2
Android 14 compatibility has been addressed in the hotfix.
2.2.1
Fixed obfuscation bug for sessionId in getTrackingStatus.
2.2.0
- Audio error handling
- ERR_AUDIO is called when the internal recordingState doesn’t change after recording start.
- During sleep tracking, ERR_AUDIO_SILENCED is called if another audio capturing app capture same audio input. And ERR_AUDIO_UNSILENCED is called if the your app's sleep tracking captures the audio.
- Add developer mode.
- Add logcat debug logs for development convenience.
- Remove obfuscation for variable sessionId in getTrackingStatus.
- Add fields to data class Session, SleepSession and Stat
- Session: createdTimezone, unexpectedEndTime
- SleepSession: createdTimezone, unexpectedEndTime
- Stat: sleepCycle, sleepCycleCount, wasoCount, longestWaso, unstableBreathCount, lightLatency, remLatency, deepLatency