Index
Properties
Properties
deviceId
UUID provided in the USN
field of the search response.
Optional deviceType
Device type provided in the ST
field of the search response.
Present only if the search request includes a device type.
location
Path component of the URL returned in the LOCATION
header.
port
Port component of the URL returned in the LOCATION
header.
Optional serviceType
Service type provided in the ST
field of the search response.
Present only if the search request includes a service type.
Data payload returned with a UPnP scan result. For UPnP discovery, the platform initiates an
M-SEARCH
request according to Simple Service Discovery Protocol (SSDP) and returns devices or services matching your scan configuration. The scan data contains the search response from the local device.const identifyHandler = (request: IntentFlow.IdentifyRequest): Promise<IntentFlow.IdentifyResponse> => { // Obtain scan data from protocol defined in your scan config const device = request.inputs[0].payload.device; const scanData = device.upnpScanData; // UUID advertised by the device over UPnP const localDeviceId = scanData.deviceId; // Path to the UPnP device description const deviceDescription = scanData.location; ... };