123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 |
- "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 SegmentAPI
- * @hideconstructor
- * @classdesc Internal API class that is used to send tracking (segment) data to glass.
- */
- define([], function () {
- var SegmentAPI = function () {
- function SegmentAPI() {
- _classCallCheck(this, SegmentAPI);
- }
- /**
- * @function SegmentAPI#track
- * @description send the track event to glass with the required data
- * @param {string} action event action
- */
- SegmentAPI.prototype.track = function track() {};
- /**
- * @function SegmentAPI#getInfo
- * @description collect the required data
- * @returns {object} tracking data for Segment
- */
- SegmentAPI.prototype.getInfo = function getInfo() {};
- /**
- * @function SegmentAPI#registerInfoCallback
- * @description register info callback
- * @param {function} cb info callback to register
- */
- SegmentAPI.prototype.registerInfoCallback = function registerInfoCallback() {};
- /**
- * @function SegmentAPI#unregisterInfoCallback
- * @description unregister info callback
- */
- SegmentAPI.prototype.unregisterInfoCallback = function unregisterInfoCallback() {};
- return SegmentAPI;
- }();
- return SegmentAPI;
- });
- //# sourceMappingURL=SegmentAPI.js.map
|