YAACC - UPNP Client and Server
Loading...
Searching...
No Matches
de.yaacc.multiroom.discovery.NsdErrors Class Reference

The names of the failure codes of android.net.nsd.NsdManager (values from the platform's constants), for the discovery report. More...

Collaboration diagram for de.yaacc.multiroom.discovery.NsdErrors:
Collaboration graph

Static Public Member Functions

static String describe (int code)
 

Static Public Attributes

static final int PLATFORM_THREW = 100
 Not a code of the platform: discoverServices threw instead of reporting one (no service, a permission).
 

Detailed Description

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.

Member Function Documentation

◆ 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: