Roku Developer Program

Join our online forum to talk to Roku developers and fellow channel creators. Ask questions, share tips with the community, and find helpful resources.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
ravi
Visitor

Regading roSearch Screen

Hi,
In roSearchScreen if we are showing the history or suggestions can user select that keywords without typing whole word.
example:

if the history has these keywords website,channelname,roku.
when typing in rosearchscreen can user the channelname which is in history which we are showing beside the searchkeyboard...

Ravi Pulluri.
0 Kudos
1 REPLY 1
RokuKevin
Visitor

Re: Regading roSearch Screen

Yes. The idea is that you can show recent searches from your history, or fill it with search suggestions as the user types in letters. Please see the example in Section 4.7 of the component reference guide. The idea is that you will get a new isPartialResult() each time the user enters a new letter. In your response to that event, you should be calling a web service on your site that returns a partial result that you can display on the right hand list of the screen.

When the user selects an item from the list or the "Search" button below the keyboard, an isFullResult() event is returned. In response to that event you can save the search term in your history and then take another action like launch a poster screen that returns a feed of content from your website for the search full result in the event.Message.

--Kevin
0 Kudos
Need Assistance?
Welcome to the Roku Community! Feel free to search our Community for answers or post your question to get help.

Become a Roku Streaming Expert!

Share your expertise, help fellow streamers, and unlock exclusive rewards as part of the Roku Community. Learn more.