resRingingConfig

fun resRingingConfig(context: Context, @RawRes incomingCallSoundResId: Int, @RawRes outgoingCallSoundResId: Int): RingingConfig

Returns a ringing config that uses custom resources for incoming and outgoing call sounds.

Parameters

context

Context used for retrieving the sounds.

incomingCallSoundResId

The resource ID for the incoming call sound.

outgoingCallSoundResId

The resource ID for the outgoing call sound.