openStage

suspend fun Context.openStage(id: String, style: StageStyle? = null, bundle: Bundle? = null, upperLimbRenderMode: UpperLimbRenderMode? = null): OpenStageResult

Opens a Stage by id.

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

Return

The OpenStageResult that represents the openStage result.

Parameters

id

Unique id of Stage.

style

The StageStyle to apply for this Stage. It cannot be changed while the Stage is alive.

bundle

You can deliver customized data to Stage content through a bundle.

upperLimbRenderMode

The upperLimbRenderMode of Stage.