-
Notifications
You must be signed in to change notification settings - Fork 60
Tizen API: ProductInfo
Hyojin Kim edited this page Mar 14, 2017
·
10 revisions
For converting ProductInfo API of tizen to TOAST API, please refer to the followings. Please note that device plugin is based on cordova spec. If you want get more details for usage, refer cordova-plugin-device
####privilege Please add following privilege in the config.xml
<tizen:privilege name="http://developer.samsung.com/privilege/productinfo"/>
####get ModelCode
-
Before
var model = webapis.productinfo.getModelCode();
-
After
var model = device.model;
####get Firmware Version
-
Before
var version = webapis.productinfo.getFirmware();
-
After
var version = device.version;
####getDuid
-
Before
var duid = webapis.productinfo.getDuid();
-
After
var duid = device.uuid;
uuuu
Getting Started
Converting Tizen to Toast
- Prepare to convert
- Tizen API: AVPlay
- Tizen API: DrmInfo(Deprecated)
- Tizen API: Application
- Tizen API: TVInputDevice
- Tizen API: TVAudioControl
- Tizen API: TVWindow
- Tizen API: TVChannel
- Tizen API: IME
- Tizen API: ProductInfo
- Tizen API: Network
- How to detect platform
Converting Legacy to Toast
- Prepare to convert
- Legacy API: AVPlay
- Legacy API: TVInfo
- Legacy API: Common
- Legacy API: InputDevice
- Legacy API: AudioControl
- Legacy API: TVWindow
- Legacy API: TVChannel
- Legacy API: IME
- How to detect platform
API Reference
- supported cordova plugin
- toast.Media
- toast.MediaPlugin
- toast.drminfo(Deprecated)
- toast.application
- toast.inputdevice
- toast.tvaudiocontrol
- toast.tvwindow
- toast.tvchannel
- toast.billing
Supported platforms
Sample App
Contribution
Frequently Asked Questions