WandKit
Protocol that defines the core behavior for managing WandKit operations. The WandKit protocol provides methods to set up and destroy the WandKit instance, making it suitable for managing the lifecycle of Nativeblocks components.
interface WandKit
Methods
setup
Sets up the WandKit with the specified context and edition.
fun setup(context: Context, edition: NativeblocksEdition)
Parameters
- context: The Android context required for initialization.
- edition: The edition of Nativeblocks being used.
destroy
Cleans up and releases any resources used by the WandKit.
fun destroy()