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

User Data Persistence

Most good channels keep track of what you've watched and how much of a video has been watched so that you can resume later.

Is that something that can be persisted on the Roku device? Or does something that Roku offers thru an API using the Roku user account? Or are we just on our own to either ignore that functionality or create our own facility for that kind of thing.

thx 
0 Kudos
2 REPLIES 2
renojim
Community Streaming Expert

Re: User Data Persistence

I wouldn't say there's something in the API to handle this kind of thing. You can either store the information in the registry or keep track of it on your own server. The registry is probably the easier method, but then it's only persistent on the one specific device. Channels such as Netflix store the information on their own server so that a user can resume on any supported device. This method requires some kind of account that a user logs into on every device he uses.

-JT
Roku Community Streaming Expert

Help others find this answer and click "Accept as Solution."
If you appreciate my answer, maybe give me a Kudo.

I am not a Roku employee.
0 Kudos
NB_
Roku Guru

Re: User Data Persistence

Roku (currently) does not provide cloud storage of any kind.
If your channel has concept of accounts (i.e. user login etc), you likely want progress sync'd between devices, so i'd recommend storing that on your servers. Otherwise, per-device information can be stored using roRegistrySection.
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.