Documentation

Support

Vivox Unity SDK

Vivox Unity SDK

Request runtime permissions

Request runtime permissions for microphone access on Android.
Read time 1 minuteLast updated 2 days ago

To ensure that your Unity Android application will properly work with the Vivox SDK, you need to request the
android.permission.RECORD_AUDIO
and, on Android 12 and later, the
android.permission.BLUETOOTH_CONNECT
permissions at runtime. To do this, use the
UnityEngine.Android.Permission
structure to verify if the permission is already given and to request the permission before joining a channel.
For more information, see the Unity documentation on how to request runtime permissions.