-
public final class CallServiceConfigKt
-
-
Method Summary
Modifier and Type Method Description final static CallServiceConfigcallServiceConfig()Returns the default call foreground service configuration. final static CallServiceConfiglivestreamCallServiceConfig()Returns a foreground service configuration appropriate for livestream hosts. final static CallServiceConfiglivestreamAudioCallServiceConfig()Returns a foreground service configuration appropriate for audio-only livestream hosts. final static CallServiceConfiglivestreamGuestCallServiceConfig()Returns a foreground service configuration appropriate for livestream viewers. final static CallServiceConfigaudioCallServiceConfig()Returns a foreground service configuration appropriate for audio-only calls. -
-
Method Detail
-
callServiceConfig
@Deprecated(message = Please use DefaultCallConfigurations.default, replaceWith = @ReplaceWith(imports = {}, expression = DefaultCallConfigurations.default)) final static CallServiceConfig callServiceConfig()
Returns the default call foreground service configuration. Uses:
FOREGROUND_SERVICE_TYPE_PHONE_CALL.
-
livestreamCallServiceConfig
@Deprecated(message = Please use DefaultCallConfigurations.livestream, replaceWith = @ReplaceWith(imports = {}, expression = DefaultCallConfigurations.livestream)) final static CallServiceConfig livestreamCallServiceConfig()
Returns a foreground service configuration appropriate for livestream hosts. Uses:
FOREGROUND_SERVICE_TYPE_CAMERAandFOREGROUND_SERVICE_TYPE_MICROPHONE.
-
livestreamAudioCallServiceConfig
@Deprecated(message = Please use DefaultCallConfigurations.livestreamAudioCall, replaceWith = @ReplaceWith(imports = {}, expression = DefaultCallConfigurations.livestreamAudioCall)) final static CallServiceConfig livestreamAudioCallServiceConfig()
Returns a foreground service configuration appropriate for audio-only livestream hosts. Uses:
FOREGROUND_SERVICE_TYPE_MICROPHONE.
-
livestreamGuestCallServiceConfig
@Deprecated(message = Please use DefaultCallConfigurations.livestreamGuestCall, replaceWith = @ReplaceWith(imports = {}, expression = DefaultCallConfigurations.livestreamGuestCall)) final static CallServiceConfig livestreamGuestCallServiceConfig()
Returns a foreground service configuration appropriate for livestream viewers. Uses:
FOREGROUND_SERVICE_TYPE_MEDIA_PLAYBACK.
-
audioCallServiceConfig
@Deprecated(message = Please use DefaultCallConfigurations.audioCall, replaceWith = @ReplaceWith(imports = {}, expression = DefaultCallConfigurations.audioCall)) final static CallServiceConfig audioCallServiceConfig()
Returns a foreground service configuration appropriate for audio-only calls. Uses:
FOREGROUND_SERVICE_TYPE_MICROPHONE.
-
-
-
-