1goog.module('omid.sessionClient.OmidVersion'); 2 3const argsChecker = goog.require('omid.common.argsChecker'); 4const {packageExport} = goog.require('omid.common.exporter'); 5 6// TODO(OMSDK-715): This class seems to be unused, so it should be removed from 7// the next version of OM SDK. 8 9/** 10 * Represents the Version of OMID Session Client. 11 */ 12class OmidVersion { 13 /** 14 * @param {string} semanticVersion 15 * @param {string} apiLevel 16 * @throws error if any of the arguments is undefined, null or blank. 17 */ 18 constructor(semanticVersion, apiLevel) { 19 argsChecker.assertTruthyString( 20 'OmidVersion.semanticVersion', semanticVersion); 21 argsChecker.assertTruthyString('OmidVersion.apiLevel', apiLevel); 22 } 23} 24 25packageExport('OmidSessionClient.OmidVersion', OmidVersion); 26exports = OmidVersion;
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.