-
public final class StreamCallActivityConfigurationA configuration that controls various behaviors of the StreamCallActivity.
-
-
Field Summary
Fields Modifier and Type Field Description private final BooleancloseScreenOnErrorprivate final BooleancloseScreenOnCallEndedprivate final BooleancanSkiPermissionRationaleprivate final BooleancanSkipPermissionRationaleprivate final BooleancanKeepScreenOnprivate final Bundlecustomprivate final PictureInPictureConfigurationpictureInPictureConfiguration
-
Constructor Summary
Constructors Constructor Description StreamCallActivityConfiguration(Boolean closeScreenOnError, Boolean closeScreenOnCallEnded, Boolean canSkiPermissionRationale, Boolean canSkipPermissionRationale, Boolean canKeepScreenOn, Bundle custom, PictureInPictureConfiguration pictureInPictureConfiguration)
-
Method Summary
Modifier and Type Method Description final BooleangetCloseScreenOnError()When there has been a technical error, close the screen. final BooleangetCloseScreenOnCallEnded()When the call has ended for any reason, close the screen final BooleangetCanSkiPermissionRationale()When set to false, the activity will simply ignore the showRationalefrom the system and show the rationale screen anyway.final BooleangetCanSkipPermissionRationale()When set to false, the activity will simply ignore the showRationalefrom the system and show the rationale screen anyway.final BooleangetCanKeepScreenOn()When set to true, the activity will keep the screen on. final BundlegetCustom()Custom configuration extension for any extending classes. final PictureInPictureConfigurationgetPictureInPictureConfiguration()-
-
Method Detail
-
getCloseScreenOnError
final Boolean getCloseScreenOnError()
When there has been a technical error, close the screen.
-
getCloseScreenOnCallEnded
final Boolean getCloseScreenOnCallEnded()
When the call has ended for any reason, close the screen
-
getCanSkiPermissionRationale
final Boolean getCanSkiPermissionRationale()
When set to false, the activity will simply ignore the
showRationalefrom the system and show the rationale screen anyway.
-
getCanSkipPermissionRationale
final Boolean getCanSkipPermissionRationale()
When set to false, the activity will simply ignore the
showRationalefrom the system and show the rationale screen anyway.
-
getCanKeepScreenOn
final Boolean getCanKeepScreenOn()
When set to true, the activity will keep the screen on.
-
getCustom
final Bundle getCustom()
Custom configuration extension for any extending classes. Can be used same as normal extras.
-
getPictureInPictureConfiguration
final PictureInPictureConfiguration getPictureInPictureConfiguration()
-
-
-
-