Resources | developer.brewmp.com Resources | developer.brewmp.com

Developer

resources

Accessing a sub-registry

To differentiate the sub-registries at the root level of the registry, each sub-registry must have a unique string identifier (the URI) that is provided by the application that creates the setting.

The simplest way to create a unique identifier is to use a ClassID in the identifier. For example:

  • "/~0x12345678/foo/..."
  • "/~0xabcd4321/bar/..."

However, ClassIDs are not required; human-readable URIs are allowed as well, though care must be taken to avoid duplication. For example:

  • "/component1/foo/..."
  • "/component2/bar/..."

If duplication of sub-registry identifiers occurs, the behavior is undefined.