ReadonlybcBackground events this process counted (bc).
ReadonlyfcForeground events this process counted (fc).
ReadonlyncNetwork changes this process's stack counted (nc).
ReadonlynidOptional ReadonlyprivateMinted by the first foreground and re-minted by every later one and every network change.
The network session the app process's requests carry: the
nidofx-fb-session-id, its three connection-history counters and the private id ofx-fb-session-private.The
nidis the one this process's stack is using — the one an earlier process left until the first network change, then the one the change minted. The counters and the private id follow the app's own events, the native session-id generator'sonForeground,onBackgroundandonNetworkChange: foreground raisesfcand mints a private id — the first one lands on the inheritednid; network change raisesncand mints both thenidand the private id; background raisesbcand changes nothing else. So a process start isnid=<inherited>;nc=0;fc=0;bc=0;with no private id, the first foreground turns it intonid=<inherited>;nc=0;fc=1;bc=0;plus a private id, and the first network change intonid=<new>;nc=1;fc=1;bc=0;plus a new private id.A process always holds a session: the app's stack has one from its first request, so a device that remembers none (a snapshot restored without
networkSessionId) is given one when the process is built, and the device keeps it. There is no "no session" form: its only job was to withhold the pair from a device the app itself never leaves without one.Process state, one per runtime layer, never in the session snapshot: only the current
nidpersists, in the device.