123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300 |
- "use strict";
- function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
- /**
- * Licensed Materials - Property of IBM
- * IBM Business Analytics (C) Copyright IBM Corp. 2019
- * US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
- */
- /**
- * @class StoryAPI
- * @hideconstructor
- * @classdesc API class that is used to control the behaviour of a storytelling instance
- */
- define([], function () {
- var StoryAPI = function () {
- function StoryAPI() {
- _classCallCheck(this, StoryAPI);
- }
- /**
- * @function StoryAPI#addScene
- * @param {string} [sceneType=SceneLayout1]
- * @param {string} [title=null]
- */
- StoryAPI.prototype.addScene = function addScene(sceneType, title) {
- void sceneType;
- void title;
- };
- /**
- * @function StoryAPI#deleteScene
- * @param id
- */
- StoryAPI.prototype.deleteScene = function deleteScene(id) {
- void id;
- };
- /**
- * @function StoryAPI#duplicateScene
- * @param id
- */
- StoryAPI.prototype.duplicateScene = function duplicateScene(id) {
- void id;
- };
- /**
- * @function StoryAPI#enterShareState
- * @param slideout {Object} The share panel slideout
- */
- StoryAPI.prototype.enterShareState = function enterShareState(slideout) {
- void slideout;
- };
- /**
- * @function StoryAPI#getCurrentSceneInfo
- */
- StoryAPI.prototype.getCurrentSceneInfo = function getCurrentSceneInfo() {};
- /**
- * @function StoryAPI#getCurrentTime
- */
- StoryAPI.prototype.getCurrentTime = function getCurrentTime() {};
- /**
- * @function StoryAPI#getDuration
- */
- StoryAPI.prototype.getDuration = function getDuration() {};
- /**
- * @function StoryAPI#getSceneCount
- */
- StoryAPI.prototype.getSceneCount = function getSceneCount() {};
- /**
- * @function StoryAPI#getSelectedSceneIndex
- */
- StoryAPI.prototype.getSelectedSceneIndex = function getSelectedSceneIndex() {};
- /**
- * @function StoryAPI#getSceneId
- * @param index
- */
- StoryAPI.prototype.getSceneId = function getSceneId(index) {
- void index;
- };
- /**
- * @function StoryAPI#getTimelineAPI
- * @param index
- */
- StoryAPI.prototype.getTimelineAPI = function getTimelineAPI() {};
- /**
- * @function StoryAPI#isPlaying
- */
- StoryAPI.prototype.isPlaying = function isPlaying() {};
- /**
- * @function StoryAPI#isStartOverview
- */
- StoryAPI.prototype.isStartOverview = function isStartOverview() {};
- /**
- * @function StoryAPI#isEndOverview
- */
- StoryAPI.prototype.isEndOverview = function isEndOverview() {};
- /**
- * @function StoryAPI#isAtStartOfScene
- */
- StoryAPI.prototype.isAtStartOfScene = function isAtStartOfScene() {};
- /**
- * @function StoryAPI#isAtEndOfScene
- */
- StoryAPI.prototype.isAtEndOfScene = function isAtEndOfScene() {};
- /**
- * @function StoryAPI#toggleKioskMode
- */
- StoryAPI.prototype.toggleKioskMode = function toggleKioskMode() {};
- /**
- * @function StoryAPI#toggleNavigateMarkers
- */
- StoryAPI.prototype.toggleNavigateMarkers = function toggleNavigateMarkers() {};
- /**
- * @function StoryAPI#togglePlayThrough
- */
- StoryAPI.prototype.togglePlayThrough = function togglePlayThrough() {};
- /**
- * @function StoryAPI#isNavigateMarkers
- */
- StoryAPI.prototype.isNavigateMarkers = function isNavigateMarkers() {};
- /**
- * @function StoryAPI#isScenePopulated
- * @param sceneId
- */
- StoryAPI.prototype.isScenePopulated = function isScenePopulated(sceneId) {
- void sceneId;
- };
- /**
- * @function StoryAPI#play
- */
- StoryAPI.prototype.play = function play() {};
- /**
- * @function StoryAPI#stop
- */
- StoryAPI.prototype.stop = function stop() {};
- /**
- * @function StoryAPI#leaveShareState
- */
- StoryAPI.prototype.leaveShareState = function leaveShareState() {};
- /**
- * @function StoryAPI#moveSceneLeft
- * @param id
- */
- StoryAPI.prototype.moveSceneLeft = function moveSceneLeft(id) {
- void id;
- };
- /**
- * @function StoryAPI#moveSceneRight
- * @param id
- */
- StoryAPI.prototype.moveSceneRight = function moveSceneRight(id) {
- void id;
- };
- /**
- * @function StoryAPI#nextScene
- * @param options
- */
- StoryAPI.prototype.nextScene = function nextScene(options) {
- void options;
- };
- /**
- * @function StoryAPI#previousScene
- */
- StoryAPI.prototype.previousScene = function previousScene() {};
- /**
- * @function StoryAPI#renameScene
- * @param id
- * @param title
- */
- StoryAPI.prototype.renameScene = function renameScene(id, title) {
- void id;
- void title;
- };
- /**
- * @function StoryAPI#selectScene
- * @param options
- */
- StoryAPI.prototype.selectScene = function selectScene(options) {
- void options;
- };
- /**
- * @function StoryAPI#setCurrentTime
- * @param time
- */
- StoryAPI.prototype.setCurrentTime = function setCurrentTime(time) {
- void time;
- };
- /**
- * @function StoryAPI#enterPrintMode
- */
- StoryAPI.prototype.enterPrintMode = function enterPrintMode() {};
- /**
- * @function StoryAPI#leavePrintMode
- * @param sceneTime
- */
- StoryAPI.prototype.leavePrintMode = function leavePrintMode(sceneTime) {
- void sceneTime;
- };
- return StoryAPI;
- }();
- return StoryAPI;
- });
- //# sourceMappingURL=StoryAPI.js.map
|