Package-level declarations

Types

Link copied to clipboard
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), ),     val serviceClass: Class<*> = CallService::class.java)

Configuration class for the call foreground service.

Link copied to clipboard
Link copied to clipboard

A registry for managing call configurations related to call services.

Link copied to clipboard

Provides default configurations for different types of call services.

Functions

Link copied to clipboard

Returns a foreground service configuration appropriate for audio-only calls. Uses: FOREGROUND_SERVICE_TYPE_MICROPHONE.

Link copied to clipboard

Returns the default call foreground service configuration. Uses: FOREGROUND_SERVICE_TYPE_PHONE_CALL.

Link copied to clipboard

Returns a foreground service configuration appropriate for audio-only livestream hosts. Uses: FOREGROUND_SERVICE_TYPE_MICROPHONE.

Link copied to clipboard

Returns a foreground service configuration appropriate for livestream hosts. Uses: FOREGROUND_SERVICE_TYPE_CAMERA and FOREGROUND_SERVICE_TYPE_MICROPHONE.

Link copied to clipboard

Returns a foreground service configuration appropriate for livestream viewers. Uses: FOREGROUND_SERVICE_TYPE_MEDIA_PLAYBACK.