Class StreamCallActivityConfiguration
-
- All Implemented Interfaces:
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 Bundlecustom
-
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. -
-
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.
-
-
-
-