danger.app
Class PhotoRecordIPCPayload
java.lang.Object
danger.app.GalleryItemIPCPayload
danger.app.PhotoRecordIPCPayload
Deprecated. This class exists for legacy compatibility purposes; apps
should instead construct PhotoPicker objects with
PhotoPicker.createPicker(boolean,boolean)
to get GalleryItemIPCPayload objects instead.
public final class PhotoRecordIPCPayload
- extends GalleryItemIPCPayload
The PhotoRecordIPCPayload class encapsulates PhotoRecord objects
that are returned from the camera gallery.
This is returned if a PhotoPicker is
constructed with no arguments.
|
Constructor Summary |
PhotoRecordIPCPayload()
Deprecated. Class constructor for passing PhotoRecords over IPC. |
| Methods inherited from class danger.app.GalleryItemIPCPayload |
addRecord, addRecordList, addRecords, getDateCreated, getGalleryItemAt, getPayloadByteCount, getRecordCount, getRegistryRecord, getTargetProvider, setRegistryRecord, setTargetProvider |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PhotoRecordIPCPayload
public PhotoRecordIPCPayload()
- Deprecated.
- Class constructor for passing PhotoRecords over IPC.
getRecordAt
public final PhotoRecord getRecordAt(int index)
- Deprecated.
- Get a PhotoRecord in the IPC payload
- Parameters:
index - index of a PhotoRecord in the IPC payload
- Returns:
- The PhotoRecord at the index specified.
addRecord
public final void addRecord(PhotoRecord record)
- Deprecated.
- Add a PhotoRecord into the IPC payload
- Parameters:
record - PhotoRecord to add to IPC payload