Keys
Enumeration class containing the keys used in passing intents across activities and in database-related operations.
Since the said operations require strings as keys, they are referenced using their names in this enumeration declaration (that is, via the property name
).
Constructors
Entries
KEY_PROFILE_PICTURE
Link copied to clipboard
Content copied to clipboard
Key used in passing activity launching-related intents involving the profile picture.
KEY_USERNAME
Link copied to clipboard
Content copied to clipboard
Key used in passing activity launching-related intents involving the username.
KEY_POSTID
Link copied to clipboard
Content copied to clipboard
Key used in passing activity launching-related intents involving the unique identifier of the post.
KEY_NUM_UPVOTES
Link copied to clipboard
Content copied to clipboard
Key used in passing activity launching-related intents involving the number of upvotes of a post.
KEY_NUM_COMMENTS
Link copied to clipboard
Content copied to clipboard
Key used in passing activity launching-related intents involving the number of comments on a post.
KEY_DATE_POSTED
Link copied to clipboard
Content copied to clipboard
Key used in passing activity launching-related intents involving the date an artwork was posted.
KEY_MEDIUM
Link copied to clipboard
Content copied to clipboard
Key used in passing activity launching-related intents involving the medium of an artwork posted.
KEY_DIMENSIONS
Link copied to clipboard
Content copied to clipboard
Key used in passing activity launching-related intents involving the dimensions of an artwork posted.
KEY_DESCRIPTION
Link copied to clipboard
Content copied to clipboard
Key used in passing activity launching-related intents involving the description of an artwork posted.
KEY_BOOKMARK
Link copied to clipboard
Content copied to clipboard
Key used in passing activity launching-related intents involving the bookmark status of an artwork posted.
KEY_UPVOTE
Link copied to clipboard
Content copied to clipboard
Key used in passing activity launching-related intents involving the upvote status of an artwork posted.
KEY_HIGHLIGHT
Link copied to clipboard
Content copied to clipboard
Key used in passing activity launching-related intents involving the highlight status of an artwork posted.
KEY_COMMENT_BODY
Link copied to clipboard
Content copied to clipboard
Key used in passing activity launching-related intents involving a comment per se.
KEY_USERID
Link copied to clipboard
Content copied to clipboard
Key used in passing activity launching-related intents involving the unique identifier of a user.
KEY_COMMENTID
Link copied to clipboard
Content copied to clipboard
Key used in passing activity launching-related intents involving the unique identifier of a comment.
KEY_SEARCH
Link copied to clipboard
Content copied to clipboard
Key used in passing activity launching-related intents involving the search feature.
KEY_POST_ARTWORK
Link copied to clipboard
Content copied to clipboard
Key used to pass the image URI of the artwork to be posted.
KEY_POST_FROM
Link copied to clipboard
Content copied to clipboard
Key used to pass information as to whether the artwork was taken from the camera or chosen from the Gallery
KEY_DB_USERS
Link copied to clipboard
Content copied to clipboard
Key used to reference to the Users collection.
highlights
Link copied to clipboard
Content copied to clipboard
Key used in retrieving and passing data related to the highlighted posts of a user.
upvotedPosts
Link copied to clipboard
Content copied to clipboard
Key used in retrieving and passing data related to the upvoted posts of a user.
usersFollowed
Link copied to clipboard
Content copied to clipboard
Key used in retrieving and passing data related to the users followed by a user.
userComments
Link copied to clipboard
Content copied to clipboard
Key used in retrieving and passing data related to the comments of a user.
KEY_DB_POSTS
Link copied to clipboard
Content copied to clipboard
Key used to reference to the Posts collection.
profilePicture
Link copied to clipboard
Content copied to clipboard
Key used in retrieving and passing data related to the profile picture of the user who posted an artwork.
datePosted
Link copied to clipboard
Content copied to clipboard
Key used in retrieving and passing data related to the date an artwork was posted.
dimensions
Link copied to clipboard
Content copied to clipboard
Key used in retrieving and passing data related to the dimensions of an artwork posted.
description
Link copied to clipboard
Content copied to clipboard
Key used in retrieving and passing data related to the description of an artwork posted.
upvoteUsers
Link copied to clipboard
Content copied to clipboard
Key used in retrieving and passing data related to the users who upvoted a post.
bookmarkUsers
Link copied to clipboard
Content copied to clipboard
Key used in retrieving and passing data related to the users who bookmarked a post.
highlightUser
Link copied to clipboard
Content copied to clipboard
numUpvotes
Link copied to clipboard
Content copied to clipboard
Key used in retrieving and passing data related to the number of upvotes of a post.
numComments
Link copied to clipboard
Content copied to clipboard
Key used in retrieving and passing data related to the number of comments on a post.
KEY_DB_COMMENTS
Link copied to clipboard
Content copied to clipboard
Key used to reference to the Comments collection.
commentBody
Link copied to clipboard
Content copied to clipboard
Key used in retrieving and passing data related to the body of a comment.