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: 
evilmax17
Visitor

Request: "AddFavoritesButton" for ifSpringboardScreen

ifSpringboardScreen currently has the following button-related methods defined:


Boolean AddThumbsUpDownButton(Integer buttonID, Integer thumbRating)
Boolean AddThumbsUpDownButtonWithTips(Integer buttonID, Integer thumbRating, Array tipText)
Boolean AddButton(Integer id, String title)
Boolean AddRatingButton(Integer id, Integer userRating, Integer aggregateRating)
Void ClearButtons(Void)

I'd like to request a new method:


Boolean AddFavoritesButton(Integer id, String title)

Lots of different channels allow users to save their own favorite videos + users, which are usually stored locally in the registry.

The specific implementation varies from channel to channel, but they'll usually have a button on an roSpringboardScreen that says "Add to favorites" or "Follow user". Since so many different channels implement this same basic concept, it would be nice to have a dedicated graphical button for it.

Example roSpringboardScreen button mockup:



  • Play

  • Play from beginning

  • Stop

  • Add to favorites


My Roku Channels:
Viddler - viddler.com
Tested Fan - tested.com | Jamie & Adam
This is my next - theverge.com
1080p Showcase - RIP
Whiskey Media - RIP
======================
http://www.binarymoustache.com
0 Kudos
1 REPLY 1
jbrave
Channel Surfer

Re: Request: "AddFavoritesButton" for ifSpringboardScreen

how about:

addFavoritesButton(Integer id, String title)


addFavoritesButton(Integer id, String title,string URL)
Boolean AddThumbsUpDownButton(Integer buttonID, Integer thumbRating,string URL)
Boolean AddThumbsUpDownButtonWithTips(Integer buttonID, Integer thumbRating, Array tipText, string URL)
Boolean AddButton(Integer id, String title, String URL)
Boolean AddRatingButton(Integer id, Integer userRating, Integer aggregateRating, String URL)
Void ClearButtons(Void)


So you could define your own images to reflect changing aesthetics, like:

screen.addfavoritesbutton(0,"My Favorite Favorites Button", "http://mysite.com/favorite.png)

- Joel
Screenshades: The first Screensaver for Roku2!
Musiclouds: The best free internet music, on your Roku!
Ouroborialis: Psychedelic Screensaver for Roku!
0 Kudos