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.
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.