Closed RomanSkrypnyk-main closed 2 years ago
To close a view and pop it off the stack, you set its close field... myView.close = true
There is a deep linking example in the Roku Recommends sample channel. https://github.com/rokudev/SceneGraphDeveloperExtensions/tree/master/samples/Roku_Recommends
Thanks for pushing me in the right direction.
Solutions to my problem:
sub GetCurrentView()
currentView = m.top.ComponentController.currentView
if currentView.Subtype() = "MediaView" then currentView.close = true
end sub
How to remove Media View from stack? for deep linking
When media is played and a new curl link is installed, I want to remove the old view and set the new view (new video).
DeepLinking.brs