"RokuNB" wrote:
i presume by "home screen" you mean "my app main screen/menu" and not Roku's Home screen.
i see no screen facade in the example above - more details in that direction may help.
Hi!
yes, I meant my app's main screen - in my case, the roGridScreen, that loads up after the splash screen when loading my channel the normal way, as opposed to through deep linking.
I deleted the screen facade from the example, oops. but I ended up moving all of my deep linking code into a separate functioning, and then calling the function like so:
if ( args.ContentId <> Invalid ) and ( args.mediaType <> Invalid )
presentdeepLinkContent( args )
else
'show home screen here'
end if
and the function that holds the deep linking is:
function presentdeepLinkContent( args )
if ( args.ContentId <> Invalid ) and ( args.mediaType <> Invalid )
item = findItemById( args.ContentId )
if ( item <> Invalid )
if ( args.mediaType = "episode" or args.mediaType = "movie" or args.mediaType = "short-form" or args.mediaType = "special" )
'display springboard screen here'
else if ( args.mediaType = "season" )
'display poster screen here'
end if
end if
end function
I'm still getting the same issue as before where all the deep linking works, but no matter how I include the roGridScreen function, it doesn't show up. Is a screen facade implementation the only way to get this to work? I'm a bit confused on how a screen facade would help me to bring a user back to the home grid screen.