-
Notifications
You must be signed in to change notification settings - Fork 62
Tizen API: TVChannel
zuzu_yun edited this page Mar 21, 2017
·
4 revisions
For converting TVChannel API of tizen to TOAST API, please refer to the followings.
If you want more information, please refer to toast.tvchannel
-
Before
tizen.tvchannel.tune({ major: 7, minor: 1 },{ onsuccess: function() {}, onnosignal: function() {}, onprograminforeceived: function() {} }, function() {}, 'MAIN');
-
After
toast.tvchannel.tune({ major: 7, minor: 1 },{ onsuccess: function() {}, onnosignal: function() {}, onprograminforeceived: function() {} }, function() {});
-
Before
tizen.tvchannel.tuneUp({ onsuccess: function() {}, onnosignal: function() {}, onprograminforeceived: function() {} }, function() {}, 'ALL', 'MAIN');
-
After
toast.tvchannel.tuneUp({ onsuccess: function() {}, onnosignal: function() {}, onprograminforeceived: function() {} }, function() {});
-
Before
tizen.tvchannel.tuneDown({ onsuccess: function() {}, onnosignal: function() {}, onprograminforeceived: function() {} }, function() {}, 'ALL', 'MAIN');
-
After
toast.tvchannel.tuneDown({ onsuccess: function() {}, onnosignal: function() {}, onprograminforeceived: function() {} }, function() {}); });
-
Before
tizen.tvchannel.findChannel(7, 1, function() {}, function() {});
-
After
toast.tvchannel.findChannel(7, 1, function() {}, function() {});
-
Before
tizen.tvchannel.getChannelList(function() {}, function() {}, 'ALL', 0, 10);
-
After
toast.tvchannel.getChannelList(function() {}, function() {}, 'ALL', 0, 10);
-
Before
var channelInfo = tizen.tvchannel.getCurrentChannel('MAIN');
-
After
toast.tvchannel.getCurrentChannel(function() {}, function() {});
-
Before
var channelInfo = tizen.tvchannel.getCurrentChannel('MAIN'); tizen.tvchannel.getProgramList(channelInfo, tizen.time.getCurrentDateTime(), function() {}, function() {}, 3);
-
After
toast.tvchannel.getCurrentChannel(function(channelInfo) { toast.tvchannel.getProgramList(channelInfo, new Date(), function() {}, function() {}, 3); }, function() {});
-
Before
var programInfo = tizen.tvchannel.getCurrentProgram('MAIN');
-
After
toast.tvchannel.getCurrentProgram(function() {}, function() {});
-
Before
var channelListenerID = tizen.tvchannel.addChannelChangeListener(function() {}, 'MAIN');
-
After
var testFunc = function() {}; toast.tvchannel.addChannelChangeListener(testFunc);
-
Before
var channelListenerID = tizen.tvchannel.addChannelChangeListener(function() {}); tizen.tvchannel.removeChannelChangeListener(channelListenerID);
-
After
var testFunc = function() {}; toast.tvchannel.addChannelChangeListener(testFunc); toast.tvchannel.removeChannelChangeListener(testFunc);
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