TimelineAPI.js 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  1. "use strict";
  2. function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
  3. /**
  4. * Licensed Materials - Property of IBM
  5. * IBM Business Analytics (C) Copyright IBM Corp. 2019
  6. * US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
  7. */
  8. /**
  9. * @class TimelineAPI
  10. * @hideconstructor
  11. * @classdesc API class that is used to control the behaviour of a storytelling timeline instance
  12. */
  13. define([], function () {
  14. var TimelineAPI = function () {
  15. function TimelineAPI() {
  16. _classCallCheck(this, TimelineAPI);
  17. }
  18. /**
  19. * @function TimelineAPI#addHighlight
  20. * @param widgetId
  21. * @param timer
  22. */
  23. TimelineAPI.prototype.addHighlight = function addHighlight(widgetId, timer) {
  24. void widgetId;
  25. void timer;
  26. };
  27. /**
  28. * @function TimelineAPI#deleteHighlight
  29. * @param widgetId
  30. * @param actId
  31. */
  32. TimelineAPI.prototype.deleteHighlight = function deleteHighlight(widgetId, actId) {
  33. void widgetId;
  34. void actId;
  35. };
  36. /**
  37. * @function TimelineAPI#getEpisode
  38. * @param id
  39. */
  40. TimelineAPI.prototype.getEpisode = function getEpisode(id) {
  41. void id;
  42. };
  43. /**
  44. * @function TimelineAPI#getEpisodeIDs
  45. */
  46. TimelineAPI.prototype.getEpisodeIDs = function getEpisodeIDs() {};
  47. /**
  48. * @function TimelineAPI#isHighlightSupported
  49. * @param widgetId
  50. */
  51. TimelineAPI.prototype.isHighlightSupported = function isHighlightSupported(widgetId) {
  52. void widgetId;
  53. };
  54. /**
  55. * @function TimelineAPI#moveEpisode
  56. * @param id
  57. * @param beforeId
  58. * @param options
  59. */
  60. TimelineAPI.prototype.moveEpisode = function moveEpisode(id, beforeId, options) {
  61. void id;
  62. void beforeId;
  63. void options;
  64. };
  65. /**
  66. * @function TimelineAPI#updateEpisodeDuration
  67. * @param id
  68. * @param start
  69. * @param end
  70. * @param options
  71. */
  72. TimelineAPI.prototype.updateEpisodeDuration = function updateEpisodeDuration(id, start, end, options) {
  73. void id;
  74. void start;
  75. void end;
  76. void options;
  77. };
  78. /**
  79. * @function TimelineAPI#updateHighlight
  80. * @param widgetId
  81. * @param actId
  82. * @param attributes
  83. */
  84. TimelineAPI.prototype.updateHighlight = function updateHighlight(widgetId, actId, attributes) {
  85. void widgetId;
  86. void actId;
  87. void attributes;
  88. };
  89. return TimelineAPI;
  90. }();
  91. return TimelineAPI;
  92. });
  93. //# sourceMappingURL=TimelineAPI.js.map