mautilus / sdk

MAUTILUS SmartTV SDK
BSD 3-Clause "New" or "Revised" License
98 stars 43 forks source link

how to save session data for next login using this sdk? #29

Open kingctan opened 8 years ago

kingctan commented 8 years ago

how to save session data for next login using this sdk? Thanks.

radimbuchtela commented 8 years ago

Hi kingctan, you can use Storage object from SDK: http://smarttv.mautilus.com/SDK/#!/api/Storage

Storage.set("lastname", "Smith");   // Store value
var lastname = Storage.get("lastname");   // Retrieve value

Regards, Radim

radimbuchtela commented 8 years ago

Did it help you? If yes, please close this issue.

Thank you.