CallServiceConfig

data class CallServiceConfig(val runCallServiceInForeground: Boolean = true, val audioUsage: Int = AudioAttributes.USAGE_VOICE_COMMUNICATION, val callServicePerType: Map<String, Class<*>> = mapOf( Pair(ANY_MARKER, CallService::class.java), ))

Configuration class for the call foreground service.

Parameters

runCallServiceInForeground

If the call service should run in the foreground.

callServicePerType

A map of call service per type.

See also

Constructors

Link copied to clipboard
constructor(runCallServiceInForeground: Boolean = true, audioUsage: Int = AudioAttributes.USAGE_VOICE_COMMUNICATION, callServicePerType: Map<String, Class<*>> = mapOf( Pair(ANY_MARKER, CallService::class.java), ))

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard