|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectdanger.app.Listener
danger.ui.View
danger.ui.Container
danger.ui.Window
danger.ui.ScreenWindow
danger.ui.photopicker.PhotoPicker
public abstract class PhotoPicker
| Field Summary |
|---|
| Fields inherited from class danger.ui.Window |
|---|
NO_FULL_SCREEN_MARQUEE, SHOW_FULL_SCREEN_MARQUEE, STATE_AUTO_HIDE_IF_IDLE, STATE_DROP_ORPHANED_EVENTS, STATE_FULLSCREEN, STATE_UNUSED1 |
| Constructor Summary | |
|---|---|
PhotoPicker()
|
|
| Method Summary | |
|---|---|
static PhotoPicker |
createPicker()
Deprecated. |
static PhotoPicker |
createPicker(boolean showPhotos,
boolean showVideos)
Obtain a reference to the PhotoPicker instance. |
abstract long |
getMaxSelectionByteCount()
Returns the maximum # of selectable bytes photos in the PhotoPicker. |
abstract int |
getMaxSelectionCount()
Returns the maximum # of selectable photos in the PhotoPicker. |
abstract boolean |
getShowPhotos()
Returns whether or not photos are visible in the gallery. |
abstract boolean |
getShowVideos()
Returns whether or not videos are visible in the gallery. |
abstract void |
setEvent(Listener listener,
int type)
Define the return event sent to the caller when PhotoPicker is done. |
abstract void |
setEvent(Listener listener,
int type,
int what,
int data)
Define the return event sent to the caller when PhotoPicker is done. |
abstract void |
setMaxSelectionByteCount(long byteCount)
Set the maximum # of bytes of selectable photos in the PhotoPicker. |
abstract void |
setMaxSelectionCount(int count)
Set the maximum # of selectable photos in the PhotoPicker. |
abstract void |
setStartInCaptureView(boolean start)
Indicate whether the PhotoPicker should start in photo capture mode. |
| Methods inherited from class danger.app.Listener |
|---|
cancelEvents, childEventPump, childEventPumpDone, eventProblem, isDispatchingThread, sendEvent, sendEvent, sendEvent, sendEvent, sendEvent, sendLowPriorityEvent |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PhotoPicker()
| Method Detail |
|---|
public static final PhotoPicker createPicker()
public static final PhotoPicker createPicker(boolean showPhotos,
boolean showVideos)
showPhotos - Enable the showing of photos in the PhotoPicker.showVideos - Enable the showing of videos in the PhotoPicker.
public abstract void setEvent(Listener listener,
int type,
int what,
int data)
public abstract void setEvent(Listener listener,
int type)
public abstract void setStartInCaptureView(boolean start)
start - if true, start PhotoPicker in photo capture mode.public abstract void setMaxSelectionCount(int count)
count - maximum # of selectable photos.public abstract int getMaxSelectionCount()
public abstract void setMaxSelectionByteCount(long byteCount)
byteCount - maximum # of selectable bytes of photos.public abstract long getMaxSelectionByteCount()
public abstract boolean getShowPhotos()
public abstract boolean getShowVideos()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||