Class ShadowRestrictionsManager


  • @Implements(value=android.content.RestrictionsManager.class,
                minSdk=21)
    public class ShadowRestrictionsManager
    extends java.lang.Object
    Shadow of RestrictionsManager.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected android.os.Bundle getApplicationRestrictions()  
      void setApplicationRestrictions​(android.os.Bundle applicationRestrictions)
      Sets the application restrictions as returned by RestrictionsManager.getApplicationRestrictions().
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ShadowRestrictionsManager

        public ShadowRestrictionsManager()
    • Method Detail

      • setApplicationRestrictions

        public void setApplicationRestrictions​(android.os.Bundle applicationRestrictions)
        Sets the application restrictions as returned by RestrictionsManager.getApplicationRestrictions().
      • getApplicationRestrictions

        @Implementation
        protected android.os.Bundle getApplicationRestrictions()
        Returns:
        null by default, or the value specified via setApplicationRestrictions(Bundle)