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

Method constructor

src/service/platform-impl.js:11–17  ·  view source on GitHub ↗

* @param {!Window} win

(win)

Source from the content-addressed store, hash-verified

9 * @param {!Window} win
10 */
11 constructor(win) {
12 /** @const @private {!Navigator} */
13 this.navigator_ = /** @type {!Navigator} */ (win.navigator);
14
15 /** @const @private */
16 this.win_ = win;
17 }
18
19 /**
20 * Whether the current platform is an Android device.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected