MCPcopy Create free account
hub / github.com/ampproject/amphtml / getConsentData

Method getConsentData

src/video-iframe-integration.js:391–393  ·  view source on GitHub ↗

* Gets the host document's user consent data. * @param {function(!JsonObject)} callback

(callback)

Source from the content-addressed store, hash-verified

389 * @param {function(!JsonObject)} callback
390 */
391 getConsentData(callback) {
392 this.getFromHostForTesting_('getConsentData', callback);
393 }
394
395 /**
396 * Returns message id for testing. Private as message id is an implementation

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected