-
Notifications
You must be signed in to change notification settings - Fork 60
Tizen API: DrmInfo
Hyojin Kim edited this page Oct 12, 2020
·
6 revisions
For converting DrmInfo API of tizen to TOAST API, please refer to the followings.
If you want more information, please refer to toast.drminfo
<tizen:privilege name="http://developer.samsung.com/privilege/drminfo"/>
[Deprecated]
-
Before
webapis.drminfo.getEsn(name of component);
-
After
toast.drminfo.getEsn(name of component, function(value) { // value : Esn data of given component name console.log('Success: ' + value); }, function(err) { console.log('Error: ' + err.message); });
[Deprecated]
-
Before
webapis.drminfo.getSdiId();
-
After
toast.drminfo.getSdi(function(value) { // value : SDI (Samsung Device Identifier) console.log('Success: ' + value); }, function(err) { console.log('Error: ' + err.message); });
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