# facebookarchive/network-connection-class

Listen to current network traffic in the app and categorize the quality of the network.

Repository: https://github.com/facebookarchive/network-connection-class
Canonical: https://ross.abutalabs.com/products/network-connection-class
Language: Java
License: NOASSERTION
License Family: other
Archived: true
Last push: 2019-03-27T22:44:59+00:00

## Health v2 (maintenance only)
Score: 10/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 4187, "days_push": 2716, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: archived, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3174, forks 510 (observed 2026-08-28T04:07:47.577120+00:00)

## What it is
An Android library by Facebook that listens to the app's existing network traffic and classifies the user's connection quality into discrete buckets. Developers can subscribe to quality-change events and adapt app behavior like requesting lower-quality media.

## Use cases
- measure downstream bandwidth on android
- detect when user's network quality changes
- serve lower quality images on slow connections
- adapt video streaming quality to connection
- monitor network performance in an android app

## When to choose
- you need passive bandwidth estimation from real app traffic on Android
- you want to dynamically adjust media quality based on connection class

## When to avoid
- you need latency or upstream bandwidth measurement
- you need an actively maintained library - it is archived by Facebook
- you are not building an Android/JVM app

## Facets
- artifact type: library
- maturity: maintenance
- function: monitoring, networking
- domain: mobile-development, networking, android-tools
- platform: jvm
- tags: network-quality, bandwidth-measurement, android-library, facebook-archive, connection-classification, android, mobile

## Member repositories
- facebookarchive/network-connection-class (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:47.577120+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:45:26.552687+00:00, confidence not recorded.
  - readme: https://github.com/facebookarchive/network-connection-class (fetched 2026-08-28T04:07:47.577120+00:00, sha a668ba2664d4)
- Data as of 2026-08-30T08:39:29.467469+00:00.
