Check this answer made by Nas Banov . Combine His answer with the documentation you already provided and you will be able to launch one Roku app from another with Deep Linking params.
In short find out your device IP by creating roDeviceInfo
and calling GetIPAddrs()
on it.
Now when you have device IP, create roUrlTransfer
and call setURL("http://your_IP:8060/launch/dev?contentID=13234&MediaType=season")
after that just call PostFromString()
.
contentID and MediaType are Deep Linking parameters.
Nas Banov also explains what is "dev" in the setUrl()
link, only with the different example(internal channel ID):
dev - in setUrl()
function is internal channel ID, for public
channels you can see it in the Channel Store URL of the channel
details.
I have made a GITHUB repo that you can check. It will not launch channel with deeplinking params by default (it can but you will have to replace request URL and add the one from this answer) but it will launch Roku channel from within another Roku channel.
Also you can check my post on dev.to for a detailed explanation.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…