Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: create a sealed class for RecorderIllegalStateExceptions and improve the state handling #110

Open
matthiasemde opened this issue Jul 27, 2024 · 0 comments
Labels
quick fix Fix should not take longer than 10 minutes refactor Code which needs to be refactored to improve code quality without adding new functionality

Comments

@matthiasemde
Copy link
Owner

Check out the RecorderException for reference.
mediaRecorder could probably be a lateinit var and all null checks could be state checks for "uninitialized" instead.

@matthiasemde matthiasemde added refactor Code which needs to be refactored to improve code quality without adding new functionality quick fix Fix should not take longer than 10 minutes labels Jul 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
quick fix Fix should not take longer than 10 minutes refactor Code which needs to be refactored to improve code quality without adding new functionality
Projects
None yet
Development

No branches or pull requests

1 participant