YAACC - UPNP Client and Server
Loading...
Searching...
No Matches
Public Member Functions | Static Public Member Functions | List of all members
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< YaaccResgetResources ()
 
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< YaaccResresources = 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.


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