Package-level declarations
Types
An automatically registered module during app start up that provides access to the spezi application instance.
A configuration for the Spezi framework, which allows you to define and register modules and their dependencies.
Builder for creating a Configuration for a SpeziApplication.
An interface for providing a default module instance to be used in the module dependency graph in case no explicit instance is registered in the configuration block of the SpeziApplication. In case the module is not registered, Spezi will try to create the instance by checking whether the companion object of the Module type implements this interface.
A graph of dependencies built at app start up via the configuration of the SpeziApplication.
Base interface that all Spezi modules must implement in order to get provided in the SpeziApplication modules dependency graph.
Base interface that all Spezi applications must implement to provide the Spezi modules dependency graph
A custom exception class used in the Spezi framework.
Properties
Returns the application Context of the SpeziApplication if Application conforms to SpeziApplication or null otherwise.
Functions
Lazy delegate to retrieve a required module dependency from the SpeziApplication dependency graph.
Lazy delegate to retrieve an optional module dependency from the SpeziApplication dependency graph.
Combines two Configuration instances into a new one, merging their modules and factories.
Returns the application Context of the SpeziApplication.
A custom error function that throws a SpeziError with the provided message and optional cause.