Skip to main content

respond_presentation

Function respond_presentation 

Source
pub fn respond_presentation(req: u64, result: PresentResult) -> bool
Expand description

Answer a still-open modal programmatically (dayscript). Resolves with the given result FIRST (removing the pending request), then dismisses the native control — so the native dismissal’s own completion event finds nothing pending and is a no-op. False = no such pending request.

Day API ↩ Guides· daybrite.dev