Package org.robolectric.shadows
Class ShadowInsetsController
java.lang.Object
org.robolectric.shadows.ShadowInsetsController
@Implements(value=android.view.InsetsController.class,
minSdk=30,
isInAndroidSdk=false)
@RequiresApi(30)
public class ShadowInsetsController
extends Object
Intercepts calls to [InsetsController] to monitor system bars functionality (hide/show).
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
hide
(int types) Intercepts calls to [InsetsController.hide] to detect requested changes to the system status/nav bar visibility.protected void
show
(int types) Intercepts calls to [InsetsController.show] to detect requested changes to the system status/nav bar visibility.
-
Constructor Details
-
ShadowInsetsController
public ShadowInsetsController()
-
-
Method Details
-
show
Intercepts calls to [InsetsController.show] to detect requested changes to the system status/nav bar visibility. -
hide
Intercepts calls to [InsetsController.hide] to detect requested changes to the system status/nav bar visibility.
-