Add an additional resource to announce in this resource group.
Adds a resource with target target, USN usn, and locations locations to
this. If the resource group is set [property@GSSDP.ResourceGroup:available], it will be announced right
away.
If your resource only has one location, you can use [method@GSSDP.ResourceGroup.add_resource_simple] instead.
The resource id that is returned by this function can be used with [method@GSSDP.ResourceGroup.remove_resource].
| this | |
| target |
The resource's target |
| usn |
The resource's USN |
| locations |
A List of the resource's locations |
|
The ID of the added resource. |