|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectdanger.app.GalleryItemIPCPayload
public class GalleryItemIPCPayload
The GalleryItemIPCPayload class encapuslates GalleryItem objects that are returned from the camera gallery.
| Field Summary | |
|---|---|
protected Vector<GalleryItem> |
mRecords
|
| Constructor Summary | |
|---|---|
GalleryItemIPCPayload()
Class constructor for passing multiple record types over IPC. |
|
| Method Summary | |
|---|---|
void |
addRecord(GalleryItem galleryItem)
Add a gallery item into the IPC payload. |
void |
addRecordList(List<GalleryItem> galleryItems)
Add multiple records into the IPC payload. |
void |
addRecords(Vector records)
Add multiple records into the IPC payload. |
Date |
getDateCreated()
Returns a timestamp representing when this GalleryItem was created. |
GalleryItem |
getGalleryItemAt(int index)
Get a GalleryItem in the IPC payload. |
long |
getPayloadByteCount()
Get the size in bytes of all the GalleryItem in the payload. |
int |
getRecordCount()
Get the number of GalleryItems in the payload. |
IPCRegistryRecord |
getRegistryRecord()
Get the IPCRegistryRecord corresponding to the IPC target. |
String |
getTargetProvider()
Get the name of the IPC target. |
void |
setRegistryRecord(IPCRegistryRecord ipcRegistryRecord)
Set the IPCRegistryRecord corresponding to the IPC target. |
void |
setTargetProvider(String provider)
Set the name of the IPC target. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Vector<GalleryItem> mRecords
| Constructor Detail |
|---|
public GalleryItemIPCPayload()
| Method Detail |
|---|
public final void addRecord(GalleryItem galleryItem)
galleryItem - gallery item to add to IPC payload.public final void addRecords(Vector records)
records - Vector of records to add to IPC payload.public final void addRecordList(List<GalleryItem> galleryItems)
galleryItems - List of records to add to IPC payload.public final GalleryItem getGalleryItemAt(int index)
index - index of a GalleryItem in the IPC payload.
public final long getPayloadByteCount()
public final int getRecordCount()
public final Date getDateCreated()
public final String getTargetProvider()
setTargetProvider(java.lang.String)public final void setTargetProvider(String provider)
provider - name of the IPC target.getTargetProvider()public final IPCRegistryRecord getRegistryRecord()
setRegistryRecord(danger.app.IPCRegistryRecord)public final void setRegistryRecord(IPCRegistryRecord ipcRegistryRecord)
ipcRegistryRecord - the IPCRegistryRecord of the IPC target.setRegistryRecord(danger.app.IPCRegistryRecord)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||