pub fn dispatch_lifecycle(event: LifecycleEvent)
Publishes a lifecycle transition from the platform host.