minimizeWindowContainer

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

Minimizes 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.minimizeWindowContainer is recommended to use in SpatialUI DSL.

Return

true if succeeded; false otherwise.

Parameters

id

Id of window container that you want to minimize.

tag

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