Interface ManagedConfigToJsonConverter

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract ConfigurationProviderError getLastError() Returns the last error (if any) that was encountered by ConvertManagedConfigToJson.
      abstract JSONObject convertManagedConfigToJson(@Nullable() Bundle appRestrictions, @Nullable() List<RestrictionEntry> manifestRestrictions) Converts managed configuration data to json.
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • convertManagedConfigToJson

        @Nullable() abstract JSONObject convertManagedConfigToJson(@Nullable() Bundle appRestrictions, @Nullable() List<RestrictionEntry> manifestRestrictions)

        Converts managed configuration data to json.

        Parameters:
        appRestrictions - a Bundle representing managed configuration data that is to be converted to JSON.
        manifestRestrictions - a list of the application restriction (Managed Configuration) entries that are in the application manifest.
        Returns:

        a JSONObject representing the configuration information contained in the appRestrictions, possibly using default values found in the manifestRestrictions. If an error is encountered, null is returned and the last error is set to describe the error.