YAACC - UPNP Client and Server
Loading...
Searching...
No Matches
Public Member Functions | List of all members
de.yaacc.player.PlayableItem Class Reference

representation of an item which is to be played More...

Collaboration diagram for de.yaacc.player.PlayableItem:
Collaboration graph

Public Member Functions

 PlayableItem (Item item, int defaultDuration)
 
String getMimeType ()
 
void setMimeType (String mimeType)
 
String getTitle ()
 
void setTitle (String title)
 
Uri getUri ()
 
void setUri (Uri uri)
 
long getDuration ()
 Duration in milliseconds.
 
void setDuration (long duration)
 Duration in milliseconds.
 
Item getItem ()
 
void setItem (Item item)
 
UUID getId ()
 

Detailed Description

representation of an item which is to be played

Author
Tobias Schoene (openbit)

Member Function Documentation

◆ getDuration()

long de.yaacc.player.PlayableItem.getDuration ( )

Duration in milliseconds.

Returns
the duration

◆ getMimeType()

String de.yaacc.player.PlayableItem.getMimeType ( )
Returns
the mimeType

◆ getTitle()

String de.yaacc.player.PlayableItem.getTitle ( )
Returns
the title

◆ getUri()

Uri de.yaacc.player.PlayableItem.getUri ( )
Returns
the uri

◆ setDuration()

void de.yaacc.player.PlayableItem.setDuration ( long  duration)

Duration in milliseconds.

Parameters
durationthe duration to set

◆ setMimeType()

void de.yaacc.player.PlayableItem.setMimeType ( String  mimeType)
Parameters
mimeTypethe mimeType to set

◆ setTitle()

void de.yaacc.player.PlayableItem.setTitle ( String  title)
Parameters
titlethe title to set

◆ setUri()

void de.yaacc.player.PlayableItem.setUri ( Uri  uri)
Parameters
urithe uri to set

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