Package-level declarations

Types

Link copied to clipboard
interface RingingConfig

Interface representing a ringing configuration.

Link copied to clipboard
data class Sounds(val ringingConfig: RingingConfig)

Contains all the sounds that the SDK uses.

Functions

Link copied to clipboard

Returns a ringing config that uses the SDK default sounds for incoming and outgoing calls.

Link copied to clipboard

Returns a ringing config that uses the device ringtone for incoming calls and the SDK default ringing tone for outgoing calls.

Link copied to clipboard

Returns a ringing config that mutes (disables) incoming and outgoing call sounds.

Link copied to clipboard
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.

Link copied to clipboard
fun uriRingingConfig(incomingCallSoundUri: Uri, outgoingCallSoundUri: Uri): RingingConfig

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

Inherited functions

Link copied to clipboard

Converts a ringing config to a Sounds object.