Need content IDs and MediaType for testing deep linking, as specified in Roku's deep linking policy.

We have developed Roku SG application and submitted the Roku application on store but the application rejected because our application does not support Deep linking. I read https://sdkdocs.roku.com/display/sdkdoc/Deep+Linking and tried to implement deep linking -

Function Main(args as Dynamic) as Void  
       print args
       if (args.ContentId <> invalid) and (args.MediaType <> invalid)
        if (args.mediaType = "season")
            HomeScreen()
        else
            print "Unknown media type ", args.mediaType
        end if
    end if
end function

and launch by curl -d ‘’ “http://192.168.1.114:8060/launch/dev?contentID=13234&MediaType=season” its working fine, but application not launching by browser “Development Application Installer” or direct throw remote because args return only 4 following parameters -

<Component: roAssociativeArray> =
{
instant_on_run_mode: "foreground"
lastExitOrTerminationReason: "EXIT_UNKNOWN"
source: "auto-run-dev"
splashTime: "1170"
}

Where is the ContentId and MediaType ? Please Help us and provide a better example to understand and implement easily Deep Linking.
Thankyou.

Your contentID is what you use to identify the video in the app so this can be anything.
In your Main function you’ll need to get that contentID accessible to your scenegraph video playback system to play the video.

When you sideload the channel using the browser installer, the channel gets launched, but no arguments are passed to it (there’s no place in the browser to specify any arguments). If you’ve got launching working using the curl command then you’ve got the first part of deep-linking working. Now you just have to take those arguments and go to, or start playing, the specified content.

-JT

You can use the Roku Deep Linking Tester to test your deep-link channel launching: https://blog.roku.com/developer/2016/12/15/new-web-tools-for-faster-development-on-roku/#2