Roku Developer Program

Developers and content creators—a complete solution for growing an audience directly.
cancel
Showing results for 
Search instead for 
Did you mean: 
mikek999
Level 7

Name and Email Request Dialog

I noticed that when I subscribed to the Rdio Channel, I received a popup that asked if I wanted to share my details with the channel. It then showed my name and email address. How do I go about implementing this into my channel? I can't seem to find the Brightscript function for this request.

Thanks, Mike
0 Kudos
5 Replies
destruk
Level 10

Re: Name and Email Request Dialog

The popup most likely would be an roMessageDialog --
http://sdkdocs.roku.com/display/sdkdoc/roMessageDialog

To enter your email address or other text information, you'd probably use an roKeyboardScreen.
http://sdkdocs.roku.com/display/sdkdoc/roKeyboardScreen

Of course you don't need to feel limited by those, you could create both of them from scratch with roImageCanvas or roScreen to customize to what you want.
0 Kudos
mikek999
Level 7

Re: Name and Email Request Dialog

You are correct, that is the way PBS is doing it, but the way Rdio is doing it the information doesn't have to be entered. The viewer just says yes or no to allow the share. I want to make it as easy as I can for the viewer to share their information if they choose.
0 Kudos
TheEndless
Level 7

Re: Name and Email Request Dialog

roChannelStore.GetPartialUserData()

You need to be enrolled in Roku billing in order to use this feature.
My Channels: http://roku.permanence.com - Twitter: @TheEndlessDev
Instant Watch Browser (NetflixIWB), Aquarium Screensaver (AQUARIUM), Clever Clocks Screensaver (CLEVERCLOCKS), iTunes Podcasts (ITPC), My Channels (MYCHANNELS)
0 Kudos
mikek999
Level 7

Re: Name and Email Request Dialog

Great! I think this is what I was looking for. I'll give it a try.
0 Kudos
Roku Employee
Roku Employee

Re: Name and Email Request Dialog

Note that we will not allow you to use this API in your channel going forward unless your channel actually uses our billing system for purchasing and subscriptions.

- Joel
0 Kudos