restoreWindowContainer

fun Context.restoreWindowContainer(id: String, tag: String? = null): Boolean

Restores a WindowContainer by id and optional tag. This can only be used when there is a stage open.

This method is open for android platform. And SpatialNavigator.restoreWindowContainer is recommended to use in SpatialUI DSL.

Return

true if succeeded; false otherwise.

Parameters

id

Id of window container that you want to restore.

tag

When tag is null, all opened window containers with the same id are restored. When set, only the window with the same id and tag is restored.