danger.app
Class PhotoRecordIPCPayload

java.lang.Object
  extended by danger.app.GalleryItemIPCPayload
      extended by 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.


Field Summary
 
Fields inherited from class danger.app.GalleryItemIPCPayload
mRecords
 
Constructor Summary
PhotoRecordIPCPayload()
          Deprecated. Class constructor for passing PhotoRecords over IPC.
 
Method Summary
 void addRecord(PhotoRecord record)
          Deprecated. Add a PhotoRecord into the IPC payload
 PhotoRecord getRecordAt(int index)
          Deprecated. Get a PhotoRecord in the IPC payload
 
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
 

Constructor Detail

PhotoRecordIPCPayload

public PhotoRecordIPCPayload()
Deprecated. 
Class constructor for passing PhotoRecords over IPC.

Method Detail

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