The names of the failure codes of android.net.nsd.NsdManager (values from the platform's constants), for the discovery report.
More...
|
|
static final int | PLATFORM_THREW = 100 |
| | Not a code of the platform: discoverServices threw instead of reporting one (no service, a permission).
|
| |
The names of the failure codes of android.net.nsd.NsdManager (values from the platform's constants), for the discovery report.
Written as numbers on purpose: the constants FAILURE_OPERATION_NOT_RUNNING and FAILURE_BAD_PARAMETERS exist from API 34 only, the codes themselves are reported by older releases too. Pure.
◆ describe()
| static String de.yaacc.multiroom.discovery.NsdErrors.describe |
( |
int | code | ) |
|
|
static |
- Returns
- the name and the number, e.g.
FAILURE_ALREADY_ACTIVE (3); unknown code N for any other
The documentation for this class was generated from the following file:
- /github/workspace/yaacc/src/main/java/de/yaacc/multiroom/discovery/NsdErrors.java