GmailContract.Labels.LabelCanonicalNames

Stay organized with collections Save and categorize content based on your preferences.
public static final class GmailContract.Labels.LabelCanonicalNames

Label canonical names for default Gmail system labels.

Constants

public static final String CANONICAL_NAME_ALL_MAIL

Canonical name for the All Mail label

Constant Value: "^all"

public static final String CANONICAL_NAME_DRAFTS

Canonical name for the Drafts label

Constant Value: "^r"

public static final String CANONICAL_NAME_INBOX

Canonical name for the Inbox label

Note: This label may not exist, based on the user's inbox configuration

Constant Value: "^i"

public static final String CANONICAL_NAME_INBOX_CATEGORY_FORUMS

Canonical name for the Forums inbox category

Note: This label may not exist, based on the user's inbox configuration

Constant Value: "^sq_ig_i_group"

public static final String CANONICAL_NAME_INBOX_CATEGORY_PRIMARY

Canonical name for the Primary inbox category

Note: This label may not exist, based on the user's inbox configuration

Constant Value: "^sq_ig_i_personal"

public static final String CANONICAL_NAME_INBOX_CATEGORY_PROMOTIONS

Canonical name for the Promotions inbox category

Note: This label may not exist, based on the user's inbox configuration

Constant Value: "^sq_ig_i_promo"

public static final String CANONICAL_NAME_INBOX_CATEGORY_SOCIAL

Canonical name for the Social inbox category

Note: This label may not exist, based on the user's inbox configuration

Constant Value: "^sq_ig_i_social"

public static final String CANONICAL_NAME_INBOX_CATEGORY_UPDATES

Canonical name for the Updates inbox category

Note: This label may not exist, based on the user's inbox configuration

Constant Value: "^sq_ig_i_notification"

public static final String CANONICAL_NAME_PRIORITY_INBOX

Canonical name for the Priority Inbox label

Note: This label may not exist, based on the user's inbox configuration

Constant Value: "^iim"

public static final String CANONICAL_NAME_SENT

Canonical name for the Sent label

Constant Value: "^f"

public static final String CANONICAL_NAME_SPAM

Canonical name for the Spam label

Constant Value: "^s"

public static final String CANONICAL_NAME_STARRED

Canonical name for the Starred label

Constant Value: "^t"

public static final String CANONICAL_NAME_TRASH

Canonical name for the Trash label

Constant Value: "^k"