Skip to main content

debugInterface

Queues a test overlay, for checking an integration by hand.

Overview​

debugInterface on the session queues a test overlay, so you can see MaestroCoreOverlays draw without waiting for a real overlay. Don't use it in production flows.

Syntax​

val debugInterface: CoreDebugInterface

interface CoreDebugInterface {
fun triggerTestOverlay()
fun triggerTestOverlay(riveFileUrl: String?, properties: Map<String, String>)
}

Methods​

MethodDescription
triggerTestOverlay()Queues the hello world overlay
triggerTestOverlay(riveFileUrl, properties)Queues an overlay from the Rive file at riveFileUrl, with properties set on its view model by name. A null riveFileUrl shows the hello world overlay.

Example​

sdk.debugInterface.triggerTestOverlay()