static _sendNextRequest() {
    if (_isSDKReady && _queuedRequests.length) {
      _isSDKReady = false;
      let nextRequest = _queuedRequests.shift(),
        doLogRequest = !nextRequest.command.startsWith('DebugConsoleCommand');

      if (window.WebClientBridge) {
        // <--- Android SDK uses this
        let stringifiedOpts = JSON.stringify(nextRequest.opts);

        // don't log if this is a logging statment...inception
        if (doLogRequest) {
          Logger.log(`TO BRIDGE: ${nextRequest.command}, ${stringifiedOpts}`);
        }
        window.WebClientBridge.exec(nextRequest.command, stringifiedOpts);
      } else {
        let apiLocation = `zz://${nextRequest.command}${this._createParams(
          nextRequest.opts
        )}`;

        // don't log if this is a logging statment...inception
        if (doLogRequest) {
          Logger.log(`TO BRIDGE: ${apiLocation}`);
        }
        window.location = apiLocation;
      }
    }
  }
/**
   * Checks to see if the SDK is ready to accept another command and if there is one queued up; if so, send the next one
   *
   * @returns {void}
   * @private
   */
Checks to see if the SDK is ready to accept another command and if there is one queued up; if so, send the next one
@returns {void}
@private
Checks to see if the SDK is ready to accept another command and if there is one queued up ; if so send the next one @returns { void } @private
static _sendNextRequest() {
    if (_isSDKReady && _queuedRequests.length) {
      _isSDKReady = false;
      let nextRequest = _queuedRequests.shift(),
        doLogRequest = !nextRequest.command.startsWith('DebugConsoleCommand');
      if (window.WebClientBridge) {
        let stringifiedOpts = JSON.stringify(nextRequest.opts);
        if (doLogRequest) {
          Logger.log(`TO BRIDGE: ${nextRequest.command}, ${stringifiedOpts}`);
        }
        window.WebClientBridge.exec(nextRequest.command, stringifiedOpts);
      } else {
        let apiLocation = `zz://${nextRequest.command}${this._createParams(
          nextRequest.opts
        )}`;
        if (doLogRequest) {
          Logger.log(`TO BRIDGE: ${apiLocation}`);
        }
        window.location = apiLocation;
      }
    }
  }
static _sendNextRequest ( ) { if ( _isSDKReady && _queuedRequests . length ) { _isSDKReady = false ; let nextRequest = _queuedRequests . shift ( ) , doLogRequest = ! nextRequest . command . startsWith ( 'DebugConsoleCommand' ) ; if ( window . WebClientBridge ) { let stringifiedOpts = JSON . stringify ( nextRequest . opts ) ; if ( doLogRequest ) { Logger . log ( ` ${ nextRequest . command } ${ stringifiedOpts } ` ) ; } window . WebClientBridge . exec ( nextRequest . command , stringifiedOpts ) ; } else { let apiLocation = ` ${ nextRequest . command } ${ this . _createParams ( nextRequest . opts ) } ` ; if ( doLogRequest ) { Logger . log ( ` ${ apiLocation } ` ) ; } window . location = apiLocation ; } } }
Checks to see if the SDK is ready to accept another command and if there is one queued up; if so, send the next one
 @returns {void}
 @private
Checks to see if the SDK is ready to accept another command and if there is one queued up ; if so send the next one @returns { void } @private
// <--- Android SDK uses this // don't log if this is a logging statment...inception // don't log if this is a logging statment...inception