Package org.robolectric.shadows
Class ShadowInsetsController
java.lang.Object
org.robolectric.shadows.ShadowInsetsController
@Implements(value=android.view.InsetsController.class, minSdk=30, isInAndroidSdk=false) public class ShadowInsetsController extends Object
Intercepts calls to [InsetsController] to monitor system bars functionality (hide/show).
-
Constructor Summary
Constructors Constructor Description ShadowInsetsController()
-
Method Summary
Modifier and Type Method Description void
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