The IP address of the device.
The port number of the device.
The details of the Content Directory service.
An XML parser instance.
An XML builder instance.
Private Readonly builderPrivate Readonly parserOptional rootPrivate construct_Private
Constructs the browse XML for the Browse request.
The Browse request object.
Returns the Browse XML string.
Private construct_Private generate_Private
Generates a Browse request object that returns all direct children of a specified parent object.
The ID of the parent object.
Returns the generated Browse request object.
Private parse_Private
Parses the response of a browse request.
The XML text response of the browse request.
Returns the parsed BrowseResponseObject.
Private parse_Private
Parses a container XML string.
The container XML string.
Returns the parsed UPNPContainer object.
Private parse_Private populate_Private
Populates the children of a given node.
The node to populate the children of.
Returns a promise that resolves when the children are populated.
Private send_Private
Sends a browse request to the Content Directory service.
The browse request object.
Returns a promise that resolves to the response body of the SOAP request.
Will throw an error if the SOAP request fails.
Generated using TypeDoc
Initializes an instance of ContentDirectory class.