|
Build 1.1_r1 (from source) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectandroid.database.ContentObserver
android.provider.Gmail.MailCursor
android.provider.Gmail.ConversationCursor
public static final class Gmail.ConversationCursor
A cursor over conversations. "Conversation" refers to the information needed to populate a list of conversations, not all of the messages in a conversation.
| Field Summary |
|---|
| Fields inherited from class android.provider.Gmail.MailCursor |
|---|
mAccount, mCursor |
| Method Summary | |
|---|---|
void |
becomeActiveNetworkCursor()
When a conversation cursor is created it becomes the active network cursor, which means that it will fetch results from the network if it needs to in order to show all mail that matches its query. |
long |
getConversationId()
Gets the conversation id. |
long |
getDateMs()
|
boolean |
getForceAllUnread()
|
String |
getFromSnippetInstructions()
Returns the instructions for building from snippets. |
Set<Long> |
getLabelIds()
|
Set<String> |
getLabels()
Deprecated. use getLabelIds |
Set<String> |
getLabels(String rawLabelIds,
Gmail.LabelMap labelMap)
Returns the set of labels using the raw labels from a previous getRawLabels() as input. |
long |
getMaxServerMessageId()
|
int |
getNumMessages()
|
Gmail.PersonalLevel |
getPersonalLevel()
Get's the conversation's personal level. |
String |
getRawLabelIds()
|
String |
getSnippet()
Gets the conversation's snippet. |
Gmail.CursorStatus |
getStatus()
|
String |
getSubject()
Gets the conversation's subject. |
boolean |
hasAttachments()
|
boolean |
hasMessagesWithErrors()
|
protected void |
onCursorPositionChanged()
Called whenever mCursor is changed to point to a different row. |
void |
retry()
Retry a network request after errors. |
void |
setContentsVisibleToUser(boolean visible)
Tells the cursor whether its contents are visible to the user. |
| Methods inherited from class android.provider.Gmail.MailCursor |
|---|
checkCursor, checkThread, count, deliverSelfNotifications, getAccount, getCursor, getStringInColumn, getUpdateValues, moveTo, next, onChange, position, registerContentObserver, registerDataSetObserver, registerObserver, release, unregisterContentObserver, unregisterDataSetObserver, unregisterObserver |
| Methods inherited from class android.database.ContentObserver |
|---|
dispatchChange, getContentObserver, releaseContentObserver |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
protected void onCursorPositionChanged()
Gmail.MailCursor
onCursorPositionChanged in class Gmail.MailCursorpublic Gmail.CursorStatus getStatus()
public void retry()
public void becomeActiveNetworkCursor()
public void setContentsVisibleToUser(boolean visible)
visible - whether the contents of this cursor are visible to the user.public long getConversationId()
public String getFromSnippetInstructions()
public String getSubject()
public String getSnippet()
public Gmail.PersonalLevel getPersonalLevel()
public Set<String> getLabels()
public Set<Long> getLabelIds()
public Set<String> getLabels(String rawLabelIds,
Gmail.LabelMap labelMap)
public String getRawLabelIds()
public int getNumMessages()
public long getMaxServerMessageId()
public long getDateMs()
public boolean hasAttachments()
public boolean hasMessagesWithErrors()
public boolean getForceAllUnread()
|
Build 1.1_r1 (from source) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||