Keys

enum Keys : Enum<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

Keys
Link copied to clipboard
private fun Keys()
Creates an enumeration class containing the keys used in passing intents across activities and in database-related operations.

Entries

KEY_PROFILE_PICTURE
Link copied to clipboard
Key used in passing activity launching-related intents involving the profile picture.
KEY_USERNAME
Link copied to clipboard
Key used in passing activity launching-related intents involving the username.
KEY_POSTID
Link copied to clipboard
Key used in passing activity launching-related intents involving the unique identifier of the post.
KEY_POST
Link copied to clipboard
Key used in passing activity launching-related intents involving the post itself.
KEY_TITLE
Link copied to clipboard
Key used in passing activity launching-related intents involving the title of the post.
KEY_NUM_UPVOTES
Link 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
Key used in passing activity launching-related intents involving the number of comments on a post.
KEY_DATE_POSTED
Link copied to clipboard
Key used in passing activity launching-related intents involving the date an artwork was posted.
KEY_MEDIUM
Link copied to clipboard
Key used in passing activity launching-related intents involving the medium of an artwork posted.
KEY_DIMENSIONS
Link copied to clipboard
Key used in passing activity launching-related intents involving the dimensions of an artwork posted.
KEY_DESCRIPTION
Link copied to clipboard
Key used in passing activity launching-related intents involving the description of an artwork posted.
KEY_TAGS
Link copied to clipboard
Key used in passing activity launching-related intents involving the tags of an artwork posted.
KEY_BOOKMARK
Link 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
Key used in passing activity launching-related intents involving the upvote status of an artwork posted.
KEY_HIGHLIGHT
Link copied to clipboard
Key used in passing activity launching-related intents involving the highlight status of an artwork posted.
KEY_BIO
Link copied to clipboard
Key used in passing activity launching-related intents involving the short bio of a user.
KEY_COMMENT_BODY
Link copied to clipboard
Key used in passing activity launching-related intents involving a comment per se.
KEY_USERID
Link copied to clipboard
Key used in passing activity launching-related intents involving the unique identifier of a user.
KEY_COMMENTID
Link copied to clipboard
Key used in passing activity launching-related intents involving the unique identifier of a comment.
KEY_SEARCH
Link copied to clipboard
Key used in passing activity launching-related intents involving the search feature.
KEY_POST_ARTWORK
Link copied to clipboard
Key used to pass the image URI of the artwork to be posted.
KEY_POST_FROM
Link 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
Key used to reference to the Users collection.
username
Link copied to clipboard
Key used in retrieving and passing data related to the username of a user.
email
Link copied to clipboard
Key used in retrieving and passing data related to the email address of a user.
password
Link copied to clipboard
Key used in retrieving and passing data related to the password of a user.
userImg
Link copied to clipboard
Key used in retrieving and passing data related to the profile picture of a user.
bio
Link copied to clipboard
bio()
Key used in retrieving and passing data related to the short bio of a user.
bookmarks
Link copied to clipboard
Key used in retrieving and passing data related to the bookmarked posts of a user.
userPosts
Link copied to clipboard
Key used in retrieving and passing data related to the posts of a user.
highlights
Link copied to clipboard
Key used in retrieving and passing data related to the highlighted posts of a user.
upvotedPosts
Link copied to clipboard
Key used in retrieving and passing data related to the upvoted posts of a user.
usersFollowed
Link copied to clipboard
Key used in retrieving and passing data related to the users followed by a user.
userComments
Link copied to clipboard
Key used in retrieving and passing data related to the comments of a user.
KEY_DB_POSTS
Link copied to clipboard
Key used to reference to the Posts collection.
postId
Link copied to clipboard
Key used in retrieving and passing data related to the unique identifier of a post.
profilePicture
Link copied to clipboard
Key used in retrieving and passing data related to the profile picture of the user who posted an artwork.
postImg
Link copied to clipboard
Key used in retrieving and passing data related to the photo of an artwork posted.
title
Link copied to clipboard
Key used in retrieving and passing data related to the title of an artwork posted.
datePosted
Link copied to clipboard
Key used in retrieving and passing data related to the date an artwork was posted.
medium
Link copied to clipboard
Key used in retrieving and passing data related to the medium of an artwork posted.
dimensions
Link copied to clipboard
Key used in retrieving and passing data related to the dimensions of an artwork posted.
description
Link copied to clipboard
Key used in retrieving and passing data related to the description of an artwork posted.
tags
Link copied to clipboard
Key used in retrieving and passing data related to the tags of an artwork posted.
bookmark
Link copied to clipboard
Key used in retrieving and passing data related to the bookmark status of an artwork posted.
upvote
Link copied to clipboard
Key used in retrieving and passing data related to the upvote status of an artwork posted.
highlight
Link copied to clipboard
Key used in retrieving and passing data related to the highlight status of an artwork posted.
upvoteUsers
Link copied to clipboard
Key used in retrieving and passing data related to the users who upvoted a post.
bookmarkUsers
Link copied to clipboard
Key used in retrieving and passing data related to the users who bookmarked a post.
comments
Link copied to clipboard
Key used in retrieving and passing data related to the comments on a post.
highlightUser
Link copied to clipboard
numUpvotes
Link copied to clipboard
Key used in retrieving and passing data related to the number of upvotes of a post.
numComments
Link 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
Key used to reference to the Comments collection.
commentId
Link copied to clipboard
Key used in retrieving and passing data related to the unique identifier of a comment.
commentBody
Link copied to clipboard
Key used in retrieving and passing data related to the body of a comment.

Inherited properties

name
Link copied to clipboard
val name: String
ordinal
Link copied to clipboard
val ordinal: Int