Fun-ASR-Realtime Android SDK
Updated at:
Prerequisites
- Obtain and configure an API key. Do not hardcode a long-lived API key in a mobile app. We recommend generating a temporary API key on your application server and sending it to the client.
Install the SDK
-
Extract the ZIP package. The AAR-format SDK is in the
app/libsdirectory. Add it to your project dependencies.For Android C++ integration, use
android_libsandandroid_includefrom the ZIP package to get the dynamic libraries and header files.
Quick start
Open the project in Android Studio. The sample code is in DashFunAsrSpeechTranscriberActivity.java. Replace the API key to try out the feature.
Use model fun-asr-realtime in the example.
Reference
Is this page helpful?