setPhoneAccount

fun setPhoneAccount(phoneAccount: String)

Sets the phone account name for VoIP calls in the Android Telecom Framework.

The phone account name identifies your app's calling service in the system's call management UI. This is displayed to users in the native phone app and system call screens.

Example:

class Application : Application() {
override fun onCreate() {
super.onCreate()

// Configure phone account with app name
PushwooshCallSettings.setPhoneAccount("MyApp Video Calls")
PushwooshCallSettings.setPhoneAccountHandle("myapp_voip_handle")
}
}

Parameters

phoneAccount

the name to display for this phone account. Default is "pushwoosh" if not set.

See also