-
public interface RingingConfigConfiguration describing the sounds played for incoming and outgoing calls in the Stream Video SDK.
The SDK allows customizing ringing behavior using either Android resources or external audio URIs.
Example using raw resources:
val sounds = ringingConfig( resRingingConfig(context, R.raw.my_incoming_sound, R.raw.my_outgoing_sound), defaultMutedRingingConfig() ) StreamVideoBuilder(sounds = sounds)Example using URIs:
val sounds = ringingConfig( uriRingingConfig(incomingUri, outgoingUri), defaultMutedRingingConfig() ) StreamVideoBuilder(sounds = sounds)If a sound URI is
null, no sound will be played.Instances are typically created using one of the provided factory methods: defaultResourcesRingingConfig, deviceRingtoneRingingConfig, resRingingConfig, uriRingingConfig, or emptyRingingConfig.
Creates a RingingConfig using externally provided audio URIs.
-
-
Method Summary
Modifier and Type Method Description abstract UrigetIncomingCallSoundUri()abstract UrigetOutgoingCallSoundUri()-
-
Method Detail
-
getIncomingCallSoundUri
abstract Uri getIncomingCallSoundUri()
-
getOutgoingCallSoundUri
abstract Uri getOutgoingCallSoundUri()
-
-
-
-