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

    Interface ScreenBeforeResume<Input, Data, State>

    What a beforeResume receives: the input, the data and the state; the visit it will begin does not exist yet. via is the cause of the return (ScreenLeaveVia): the tab switch that brings the tab back, or 'back', 'close' or 'interruption' for a screen that covered it being closed — the app's tap-time work belongs to the one and not the other.

    interface ScreenBeforeResume<Input, Data, State> {
        data: Data;
        input: Input;
        state: State;
        via: ScreenLeaveVia;
    }

    Type Parameters

    • Input
    • Data
    • State
    Index

    Properties

    Properties

    data: Data
    input: Input
    state: State