add_resource


Description:

public DIDLLiteResource add_resource ()

Creates a new resource, attaches it to this and returns it.

Parameters:

this

A DIDLLiteObject

Returns:

A new DIDLLiteResource object. Unref after usage.