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

[aap] Create React Native model for audio preview #196

Closed
Tracked by #193
graduad opened this issue Jul 4, 2023 · 0 comments
Closed
Tracked by #193

[aap] Create React Native model for audio preview #196

graduad opened this issue Jul 4, 2023 · 0 comments
Assignees

Comments

@graduad
Copy link
Contributor

graduad commented Jul 4, 2023

In the LocalAudio class we need to add a property that returns an AudioPreview class. This class needs to be crated under this ticket and has to mimic, the ones provided by the native SDKs.

Status can be a method if necessary, and the method can be called status(). However if a property can be used we should do so.

The callback for status change should be called onStatusChange() and should take a handler as argument and return an unsubscribe object.

Record an play methods should mimic Android and have all the non optional arguments as in the Android implementation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants