Package org.robolectric.shadows
Class ShadowRestrictionsManager
java.lang.Object
org.robolectric.shadows.ShadowRestrictionsManager
@Implements(value=android.content.RestrictionsManager.class,
minSdk=21)
public class ShadowRestrictionsManager
extends Object
Shadow of
RestrictionsManager
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected Bundle
void
setApplicationRestrictions
(Bundle applicationRestrictions) Sets the application restrictions as returned byRestrictionsManager.getApplicationRestrictions()
.
-
Constructor Details
-
ShadowRestrictionsManager
public ShadowRestrictionsManager()
-
-
Method Details
-
setApplicationRestrictions
Sets the application restrictions as returned byRestrictionsManager.getApplicationRestrictions()
. -
getApplicationRestrictions
- Returns:
- null by default, or the value specified via
setApplicationRestrictions(Bundle)
-