Class ShadowDevicePolicyResourcesManager

java.lang.Object
org.robolectric.shadows.ShadowDevicePolicyResourcesManager

@Implements(value=android.app.admin.DevicePolicyResourcesManager.class, minSdk=33, isInAndroidSdk=false) public class ShadowDevicePolicyResourcesManager extends Object
  • Constructor Details

    • ShadowDevicePolicyResourcesManager

      public ShadowDevicePolicyResourcesManager()
  • Method Details

    • setString

      public void setString(String stringId, String value)
      Override string returned by the resource identified by stringId. Reset the override by providing null as the vaNlue.
    • getString

      @Implementation protected String getString(String stringId, Supplier<String> defaultStringLoader)