This component is deprecated.

Beginning July 1st, 2017, any new channels using this component will be rejected during certification.

Beginning January 1st, 2018, any updates to existing channels using this component will be rejected during certification.

The Search History object implements the system wide storage of search terms for use in implementing the roSearchScreen.

Supported Interfaces

Description

As the user searches for content, recent searches are placed into the search history. This allows the user to easily re-execute these commands later without typing on the keyboard. The initial list of recent searches is displayed on the roSearchScreen to assist the user in finding content to watch. This history is used system wide, so that the user can find references to their search in multiple types of content.
This object is created with no parameters:

  • CreateObject("roSearchHistory")

 

Example
history = CreateObject("roSearchHistory")
list = history.GetAsArray()
print "There are "; list.Count(); " items in the history"