MCPcopy
hub / github.com/ampproject/amphtml / getConsentState

Method getConsentState

3p/ampcontext.js:208–210  ·  view source on GitHub ↗

* Requests consent state from the parent window. * * @param {function(*)} callback

(callback)

Source from the content-addressed store, hash-verified

206 * @param {function(*)} callback
207 */
208 getConsentState(callback) {
209 this.client_.getData(MessageType_Enum.GET_CONSENT_STATE, null, callback);
210 }
211
212 /**
213 * Send message to runtime requesting to resize ad to height and width.

Callers 1

_ping_Function · 0.45

Calls 1

getDataMethod · 0.80

Tested by

no test coverage detected