YAACC - UPNP Client and Server
Loading...
Searching...
No Matches
de.yaacc.upnp.model.YaaccPhoto Class Reference

Lightweight Photo wrapper that avoids Cling Property overhead. More...

Inheritance diagram for de.yaacc.upnp.model.YaaccPhoto:
Inheritance graph
Collaboration diagram for de.yaacc.upnp.model.YaaccPhoto:
Collaboration graph

Public Member Functions

 YaaccPhoto (String id, String parentId, String title, String creator, boolean restricted)
 
void setAlbumArtUri (URI albumArtUri)
 
URI getAlbumArtUri ()
 
Photo toClingItem ()
 Convert to Cling Photo for UPnP serialization.
 
- Public Member Functions inherited from de.yaacc.upnp.model.YaaccItem
 YaaccItem (String id, String parentId, String title, String creator, boolean restricted, String clazz)
 
String getId ()
 
String getParentId ()
 
String getTitle ()
 
String getCreator ()
 
boolean isRestricted ()
 
String getClazz ()
 
List< YaaccRes > getResources ()
 
void addResource (YaaccRes res)
 

Static Public Member Functions

static YaaccPhoto fromClingPhoto (Photo photo)
 Create from Cling Photo.
 
- Static Public Member Functions inherited from de.yaacc.upnp.model.YaaccItem
static YaaccItem fromClingItem (Item item)
 Create from Cling Item.
 

Additional Inherited Members

- Protected Attributes inherited from de.yaacc.upnp.model.YaaccItem
List< YaaccRes > resources = new ArrayList<>()
 

Detailed Description

Lightweight Photo wrapper that avoids Cling Property overhead.

Supports: album art URI.

Member Function Documentation

◆ toClingItem()

Photo de.yaacc.upnp.model.YaaccPhoto.toClingItem ( )

Convert to Cling Photo for UPnP serialization.

Reimplemented from de.yaacc.upnp.model.YaaccItem.

Referenced by de.yaacc.upnp.server.contentdirectory.ContentBrowser.createPhoto().

Here is the caller graph for this function:

The documentation for this class was generated from the following file: