igpapi — Instagram private API Simulator for Node.js (API reference) 4.15.0
    Preparing search index...

    Function deviceMeasurement

    • A quantity the device measures about itself (its memory, storage, battery, frames, bandwidth, the player's progress), which the library has no hardware to obtain: generated within the range the recordings show for that quantity, and one value per quantity over one Pigeon upload session, so every event of a session that reports the quantity reports the same value (“Device measurements are generated, not obtained” in “Development Guide → Architecture”). It is seeded, like the device's other generated facts (pigeonSessionIdOf), by the session and the quantity, never drawn from Math.random.

      Parameters

      Returns Effect<number, never, MobileDevice | MobileSession>