setMode

abstract suspend fun setMode(component: ComponentRef, mode: Mode)

Sets the new Mode for the given Component.