dialPhoneNumber

@RequiresPermission(value = "android.permission.CALL_PHONE")
fun dialPhoneNumber(context: Context, phoneNumber: String)

Dial phone number.

This method does not verify the phone number. If you want to know if your mobile phone number meets the rules,you can click this link Rules of International Mobile Phone Numbers.

Parameters

context

context.

phoneNumber

phone number you want to call.