registerResourceProvider
Registers the given provider of resources with normal priority.
Return
registered provider or null if it was not registered.
Since
0.10.0
Parameters
The ResourceProvider implementation.
Minimal required API level for this resource provider implementation: - if the required API level is higher than installed Mimic, provider will not be registered, - if the required API level is lower - will be enabled compatibility mode. Specify MimicApiLevel.CURRENT to use API level of Mimic dependency used at compile time.
The plugin implementing this resource provider.
Registers the given provider of resources.
Return
registered provider or null if it was not registered.
Since
0.10.0
Parameters
The ResourceProvider implementation.
Minimal required API level for this resource provider implementation: - if the required API level is higher than installed Mimic, provider will not be registered, - if the required API level is lower - will be enabled compatibility mode. Specify MimicApiLevel.CURRENT to use API level of Mimic dependency used at compile time.
The plugin implementing this resource provider.
Default priority. If user have not configured resource-provider option in config, the primary resource is taken from the first provider in order of priority that has one.