public static final class

MediaClustering.Cluster

extends MediaSet
java.lang.Object
   ↳ com.cooliris.media.MediaSet
     ↳ com.cooliris.media.MediaClustering.Cluster

Summary

[Expand]
Inherited Constants
From class com.cooliris.media.MediaSet
[Expand]
Inherited Fields
From class com.cooliris.media.MediaSet
Public Constructors
MediaClustering.Cluster(boolean isPicassaAlbum)
Public Methods
void addItem(MediaItem item)
Adds a MediaItem to this set, and increments the load count.
void generateCaption(Context context)
MediaItem getLastItem()
boolean removeItem(MediaItem item)
Removes a MediaItem if present in the MediaSet.
[Expand]
Inherited Methods
From class com.cooliris.media.MediaSet
From class java.lang.Object

Public Constructors

public MediaClustering.Cluster (boolean isPicassaAlbum)

Public Methods

public void addItem (MediaItem item)

Adds a MediaItem to this set, and increments the load count. Additionally, it also recomputes the location bounds and time range of the media set.

public void generateCaption (Context context)

public MediaItem getLastItem ()

public boolean removeItem (MediaItem item)

Removes a MediaItem if present in the MediaSet.

Returns
  • true if the item was removed, false if removal failed or item was not present in the set.