A

addCollection(PenupClient, String, ResourceCallback<CollectionResource>) - Static method in class com.samsung.android.penup.CollectionApi
Adds the specified collection.
addScope(Scope) - Method in class com.samsung.android.penup.PenupClient.Builder
Adds the scope to use the PEN.UP resources properly.
ArtistApi - Class in com.samsung.android.penup
This class sends requests related to artist information.
ArtistResource - Class in com.samsung.android.penup.model
This class contains meta data of the artist like a name, a description, and etc.
ArtistResource() - Constructor for class com.samsung.android.penup.model.ArtistResource
Constructs an ArtistResource instance.
ArtworkApi - Class in com.samsung.android.penup
This class sends requests related to artwork information.
ArtworkResource - Class in com.samsung.android.penup.model
This class contains meta data of the artwork like a title, a description, and etc.
ArtworkResource() - Constructor for class com.samsung.android.penup.model.ArtworkResource
Constructs an ArtworkResource instance.

B

build() - Method in class com.samsung.android.penup.PenupClient.Builder
Constructs a PenupClient instance with the current attributes.

C

clone() - Method in class com.samsung.android.penup.model.ArtistResource
Clones this object.
clone() - Method in class com.samsung.android.penup.model.ArtworkResource
Clones this object.
clone() - Method in class com.samsung.android.penup.model.CollectionResource
Clones this object.
clone() - Method in interface com.samsung.android.penup.model.Resource
Clones this object.
clone() - Method in class com.samsung.android.penup.model.TagResource
Clones this object.
CODE_ACCESS_TOKEN_EXPIRED - Static variable in class com.samsung.android.penup.ResponseResult
The result code for when the access token is expired
CODE_AUTHENTICATION_CANCELED - Static variable in class com.samsung.android.penup.ResponseResult
The result code for when the authentication is canceled by user
CODE_AUTHENTICATION_ERROR - Static variable in class com.samsung.android.penup.ResponseResult
The result code for when the authentication error occurred
CODE_AUTHENTICATION_REQUIRED - Static variable in class com.samsung.android.penup.ResponseResult
The result code for when the authentication is required
CODE_INTERNAL_SERVER_ERROR - Static variable in class com.samsung.android.penup.ResponseResult
The result code for when the internal server error occurred
CODE_INVALID_ACCESS_TOKEN - Static variable in class com.samsung.android.penup.ResponseResult
The result code for when the access token is invalid
CODE_INVALID_CLIENT_ID - Static variable in class com.samsung.android.penup.ResponseResult
The result code for when the client ID is invalid
CODE_KEY_HASH_MISMATCHED - Static variable in class com.samsung.android.penup.ResponseResult
The result code for when the key hash is mismatched
CODE_NETWORK_ERROR - Static variable in class com.samsung.android.penup.ResponseResult
The result code for when the network connection error occurred
CODE_NOT_EXIST_ARTIST - Static variable in class com.samsung.android.penup.ResponseResult
The result code for when the artist does not exist
CODE_NOT_EXIST_ARTWORK - Static variable in class com.samsung.android.penup.ResponseResult
The result code for when the artwork does not exist
CODE_NOT_EXIST_COLLECTION - Static variable in class com.samsung.android.penup.ResponseResult
The result code for when the collection does not exist
CODE_NOT_EXIST_TAG - Static variable in class com.samsung.android.penup.ResponseResult
The result code for when the tag does not exist
CODE_PERMISSION_DENIED - Static variable in class com.samsung.android.penup.ResponseResult
The result code for when the permission is denied
CODE_POST_DIALOG_CANCELED - Static variable in class com.samsung.android.penup.ResponseResult
The result code for when the post dialog is canceled by user
CODE_SUCCESS - Static variable in class com.samsung.android.penup.ResponseResult
The result code for the success
CODE_TIMEOUT - Static variable in class com.samsung.android.penup.ResponseResult
The result code for when the timeout is exceeded
CollectionApi - Class in com.samsung.android.penup
This class sends requests related to collection information.
CollectionResource - Class in com.samsung.android.penup.model
This class contains meta data of the collection like a name, a follower count, and etc.
CollectionResource() - Constructor for class com.samsung.android.penup.model.CollectionResource
Constructs a CollectionResource instance.
com.samsung.android.penup - package com.samsung.android.penup
This package contains classes for managing the session between a client and the PEN.UP server and accessing PEN.UP resources.
com.samsung.android.penup.model - package com.samsung.android.penup.model
This package contains data classes for the artists, artworks, collections, and tags.
connect() - Method in class com.samsung.android.penup.PenupClient
Connects the client to the PEN.UP service.

D

disconnect() - Method in class com.samsung.android.penup.PenupClient
Closes the connection to the PEN.UP service.

G

getAllArtworks(PenupClient, int, String, ResourceListCallback<ArtworkResource>) - Static method in class com.samsung.android.penup.ArtworkApi
Gets all artworks of PEN.UP.
getAllTags(PenupClient, int, String, ResourceListCallback<TagResource>) - Static method in class com.samsung.android.penup.TagApi
Gets all tags.
getArtist(PenupClient, String, ResourceCallback<ArtistResource>) - Static method in class com.samsung.android.penup.ArtistApi
Gets the artist with the specified ID.
getArtistId() - Method in class com.samsung.android.penup.model.ArtworkResource
Gets the artist ID.
getArtistName() - Method in class com.samsung.android.penup.model.ArtworkResource
Gets the artist name.
getArtwork(PenupClient, String, ResourceCallback<ArtworkResource>) - Static method in class com.samsung.android.penup.ArtworkApi
Gets the artwork with the specified ID.
getArtworkCount() - Method in class com.samsung.android.penup.model.CollectionResource
Gets the number of artworks that have been posted to this collection.
getArtworkCount() - Method in class com.samsung.android.penup.model.TagResource
Gets the number of artworks that have been posted to this tag.
getArtworksByApp(PenupClient, int, String, ResourceListCallback<ArtworkResource>) - Static method in class com.samsung.android.penup.ArtworkApi
Gets artworks posted via your application.
getArtworksByArtist(PenupClient, String, int, String, ResourceListCallback<ArtworkResource>) - Static method in class com.samsung.android.penup.ArtworkApi
Gets artworks that the specified artist has posted or reposted.
getArtworksByCollection(PenupClient, String, int, String, ResourceListCallback<ArtworkResource>) - Static method in class com.samsung.android.penup.ArtworkApi
Gets artworks included in the specified collection.
getArtworksByTag(PenupClient, String, int, String, ResourceListCallback<ArtworkResource>) - Static method in class com.samsung.android.penup.ArtworkApi
Gets artworks included in the specified tag.
getCode() - Method in class com.samsung.android.penup.ResponseResult
Gets the result code.
getCollection(PenupClient, String, ResourceCallback<CollectionResource>) - Static method in class com.samsung.android.penup.CollectionApi
Gets the collection with the specified ID.
getCollectionId() - Method in class com.samsung.android.penup.model.ArtworkResource
Gets the collection ID.
getDescription() - Method in class com.samsung.android.penup.model.ArtistResource
Gets the description of the artist.
getDescription() - Method in class com.samsung.android.penup.model.ArtworkResource
Gets the description of the artwork.
getFavoriteCount() - Method in class com.samsung.android.penup.model.ArtworkResource
Gets the number of favorite.
getFavoritedCount() - Method in class com.samsung.android.penup.model.ArtistResource
Gets the number of the artist's artworks which the other users have added to their favorites.
getFollowerCount() - Method in class com.samsung.android.penup.model.ArtistResource
Gets the number of users who follow the artist.
getFollowerCount() - Method in class com.samsung.android.penup.model.CollectionResource
Gets the number of users who follow this collection.
getFollowingCount() - Method in class com.samsung.android.penup.model.ArtistResource
Gets the number of users, tags, and collections that the artist follows.
getId() - Method in class com.samsung.android.penup.model.ArtistResource
Gets the artist ID.
getId() - Method in class com.samsung.android.penup.model.ArtworkResource
Gets the artwork ID.
getId() - Method in class com.samsung.android.penup.model.CollectionResource
Gets the collection ID.
getId() - Method in interface com.samsung.android.penup.model.Resource
Gets the resource ID.
getId() - Method in class com.samsung.android.penup.model.TagResource
Gets the tag ID.
getImageRatio() - Method in class com.samsung.android.penup.model.ArtworkResource
Gets the vertical to horizontal ratio of the artwork.
getImageUrl() - Method in class com.samsung.android.penup.model.ArtistResource
Gets the profile image URL of the artist.
getImageUrl() - Method in class com.samsung.android.penup.model.ArtworkResource
Gets the image URL.
getLargeThumbnailImageUrl() - Method in class com.samsung.android.penup.model.ArtworkResource
Gets the large thumbnail image URL.
getMessage() - Method in class com.samsung.android.penup.ResponseResult
Gets the result message.
getMyArtworks(PenupClient, int, String, ResourceListCallback<ArtworkResource>) - Static method in class com.samsung.android.penup.ArtworkApi
Gets artworks that the user has posted or reposted.
getMyCollections(PenupClient, int, String, ResourceListCallback<CollectionResource>) - Static method in class com.samsung.android.penup.CollectionApi
Gets user's collections.
getMyFeed(PenupClient, int, String, ResourceListCallback<ArtworkResource>) - Static method in class com.samsung.android.penup.ArtworkApi
Gets the user's feed.
getMyFollowers(PenupClient, int, String, ResourceListCallback<ArtistResource>) - Static method in class com.samsung.android.penup.ArtistApi
Gets user's followers.
getMyFollowingArtists(PenupClient, int, String, ResourceListCallback<ArtistResource>) - Static method in class com.samsung.android.penup.ArtistApi
Gets artists whom the user follows.
getMyFollowingCollections(PenupClient, int, String, ResourceListCallback<CollectionResource>) - Static method in class com.samsung.android.penup.CollectionApi
Gets collections that the user follows.
getMyFollowingTags(PenupClient, int, String, ResourceListCallback<TagResource>) - Static method in class com.samsung.android.penup.TagApi
Gets tags which the user follows.
getMyPosts(PenupClient, int, String, ResourceListCallback<ArtworkResource>) - Static method in class com.samsung.android.penup.ArtworkApi
Gets artworks that the user has posted.
getMyProfile(PenupClient, ResourceCallback<ArtistResource>) - Static method in class com.samsung.android.penup.ArtistApi
Gets the user's profile.
getMyReposts(PenupClient, int, String, ResourceListCallback<ArtworkResource>) - Static method in class com.samsung.android.penup.ArtworkApi
Gets artworks that the user has reposted.
getName() - Method in class com.samsung.android.penup.model.ArtistResource
Gets the artist name.
getName() - Method in class com.samsung.android.penup.model.CollectionResource
Gets the collection name.
getName() - Method in class com.samsung.android.penup.model.TagResource
Gets the tag name.
getOriginalArtistId() - Method in class com.samsung.android.penup.model.ArtworkResource
Gets the original artist ID.
getOriginalArtworkId() - Method in class com.samsung.android.penup.model.ArtworkResource
Gets the original artwork ID.
getPopularArtists(PenupClient, int, String, ResourceListCallback<ArtistResource>) - Static method in class com.samsung.android.penup.ArtistApi
Gets popular artists.
getPopularArtworks(PenupClient, Period, int, String, ResourceListCallback<ArtworkResource>) - Static method in class com.samsung.android.penup.ArtworkApi
Gets popular artworks.
getPopularArtworksByApp(PenupClient, Period, int, String, ResourceListCallback<ArtworkResource>) - Static method in class com.samsung.android.penup.ArtworkApi
Gets popular artworks posted via your application.
getPopularArtworksByTag(PenupClient, String, Period, int, String, ResourceListCallback<ArtworkResource>) - Static method in class com.samsung.android.penup.ArtworkApi
Gets popular artworks by the specified tag.
getPostCount() - Method in class com.samsung.android.penup.model.ArtistResource
Gets the number of artworks which the artist has posted.
getRepostCount() - Method in class com.samsung.android.penup.model.ArtistResource
Gets the number of artworks which the artist has reposted.
getRepostedCount() - Method in class com.samsung.android.penup.model.ArtistResource
Gets the number of the artist's artworks which the other users have reposted.
getTag(PenupClient, String, ResourceCallback<TagResource>) - Static method in class com.samsung.android.penup.TagApi
Gets the tag with the specified ID.
getThumbnailImageUrl() - Method in class com.samsung.android.penup.model.ArtworkResource
Gets the thumbnail image URL.
getTitle() - Method in class com.samsung.android.penup.model.ArtworkResource
Gets the title of the artwork.

I

isConnected() - Method in class com.samsung.android.penup.PenupClient
Checks whether the client is connected to the PEN.UP service or not.
isSuccess() - Method in class com.samsung.android.penup.ResponseResult
Checks whether the request is successfully processed and the corresponding response is received.

L

launchPostDialog(PenupClient, Uri, ResourceCallback<ArtworkResource>) - Static method in class com.samsung.android.penup.ArtworkApi
Launches the Post Dialog which provides a simple and consistent user interface to post an artwork easily.

O

onCompleted(ResponseResult, E) - Method in interface com.samsung.android.penup.ResourceCallback
Called when the response has been received from the PEN.UP service.
onCompleted(ResponseResult, List<E>, String) - Method in interface com.samsung.android.penup.ResourceListCallback
Called when the response has been received from the PEN.UP service.
onConnected() - Method in interface com.samsung.android.penup.PenupClient.ConnectionCallback
Called when the connection request has successfully completed.
onConnectionFailed(ResponseResult) - Method in interface com.samsung.android.penup.PenupClient.ConnectionCallback
Called when the connection request has failed.

P

PenupClient - Class in com.samsung.android.penup
This class authenticates a user and manages the session for PEN.UP.
PenupClient.Builder - Class in com.samsung.android.penup
This class configures and builds a PenupClient instance.
PenupClient.Builder(Context) - Constructor for class com.samsung.android.penup.PenupClient.Builder
Constructs a Builder instance.
PenupClient.ConnectionCallback - Interface in com.samsung.android.penup
This interface receives a response for the connection request as an asynchronous callback.
Period - Enum in com.samsung.android.penup
This enum provides periods for calculating popularities of artworks.
postArtwork(PenupClient, ArtworkResource, Uri, ResourceCallback<ArtworkResource>) - Static method in class com.samsung.android.penup.ArtworkApi
Posts the specified artwork.

R

Resource - Interface in com.samsung.android.penup.model
This interface defines the resource of PEN.UP.
ResourceCallback<E extends Resource> - Interface in com.samsung.android.penup
This interface receives a response and a resource as an asynchronous callback.
ResourceListCallback<E extends Resource> - Interface in com.samsung.android.penup
This interface receives a response and a resource list as an asynchronous callback.
ResponseResult - Class in com.samsung.android.penup
This class represents the result of the response received from the PEN.UP service.
ResponseResult(int, String) - Constructor for class com.samsung.android.penup.ResponseResult
Constructs an instance of ResponseResult with the specified parameters.

S

Scope - Enum in com.samsung.android.penup
This enum provides OAuth 2.0 scopes of PEN.UP.
setCallback(PenupClient.ConnectionCallback) - Method in class com.samsung.android.penup.PenupClient.Builder
Sets the callback to receive the connection result.
setClientId(String) - Method in class com.samsung.android.penup.PenupClient.Builder
Sets the client ID that has been issued from the PEN.UP service.
setCollectionId(String) - Method in class com.samsung.android.penup.model.ArtworkResource
Sets the collection ID.
setDescription(String) - Method in class com.samsung.android.penup.model.ArtworkResource
Sets the description of the artwork.
setTitle(String) - Method in class com.samsung.android.penup.model.ArtworkResource
Sets the title of the artwork.

T

TagApi - Class in com.samsung.android.penup
This class sends requests related to tag information added to artworks.
TagResource - Class in com.samsung.android.penup.model
This class contains meta data of the tag like a name, the artwork count, and etc.
TagResource() - Constructor for class com.samsung.android.penup.model.TagResource
Constructs a TagResource instance.

V

valueOf(String) - Static method in enum com.samsung.android.penup.Period
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.samsung.android.penup.Scope
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.samsung.android.penup.Period
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.samsung.android.penup.Scope
Returns an array containing the constants of this enum type, in the order they are declared.