Releases: HBiSoft/HBRecorder
Implement option to add Vector Drawable
Option added to setSmallIcon
using vector drawable. You are now able to set the small icon using a byte[], drawable or vector drawable.
Fix issue #91
The demo application was still checking for Manifest.permission.WRITE_EXTERNAL_STORAGE
on devices running 29>. This caused issues that are fixed in this release
Fix issue #88 & #89
In Android 21, it's required to set a flag to either FLAG_IMMUTABLE
or FLAG_MUTABLE
when using a PendingIntent
. Since the library is not interacting with other applications using the PendingIntent
, I think it's safe to assume that FLAG_IMMUTABLE
should be used.
Version 2
Added setMaxFileSize and more
Added setMaxFileSize thanks to @tfrysinger (#62) and fixed #60
Fix issue #44
0.1.15 Fix issue #44
Update HBRecorderCodecInfo
This is to get more information about your devices supported codecs. This is to assist in finding the cause of #34 where HBRecorderOnError: 268435556
is called when selecting the default encoder.
Add Pause/Resume
Devices running Android 24 > can pause/resume a recording by calling hbrecorder.pauseRecording()
and hbrecorder.resumeRecording()
. It is important to check if the recording has started before trying to pause it, by calling hbRecorder.isBusyRecording()
. Likewise, for when resuming a recording, it is important to check if the recording was paused by calling hbrecorder.isRecordingPaused()
Fix issue #24
The previous release caused HBRecorderOnComplete
to be called twice. This release fixes it.
Added HBRecorderOnStart listener
This is useful to know when the recording actually starts (After the dialog that gets displayed to the user).