Modifier and Type |
Method and Description |
static void |
getAllArtworks(PenupClient penupClient,
int maxResults,
java.lang.String pageToken,
ResourceListCallback<ArtworkResource> resourceListCallback)
Gets all artworks of PEN.UP.
|
static void |
getArtwork(PenupClient penupClient,
java.lang.String artworkId,
ResourceCallback<ArtworkResource> resourceCallback)
Gets the artwork with the specified ID.
|
static void |
getArtworksByApp(PenupClient penupClient,
int maxResults,
java.lang.String pageToken,
ResourceListCallback<ArtworkResource> resourceListCallback)
Gets artworks posted via your application.
|
static void |
getArtworksByArtist(PenupClient penupClient,
java.lang.String artistId,
int maxResults,
java.lang.String pageToken,
ResourceListCallback<ArtworkResource> resourceListCallback)
Gets artworks that the specified artist has posted or reposted.
|
static void |
getArtworksByCollection(PenupClient penupClient,
java.lang.String collectionId,
int maxResults,
java.lang.String pageToken,
ResourceListCallback<ArtworkResource> resourceListCallback)
Gets artworks included in the specified collection.
|
static void |
getArtworksByTag(PenupClient penupClient,
java.lang.String tagId,
int maxResults,
java.lang.String pageToken,
ResourceListCallback<ArtworkResource> resourceListCallback)
Gets artworks included in the specified tag.
|
static void |
getMyArtworks(PenupClient penupClient,
int maxResults,
java.lang.String pageToken,
ResourceListCallback<ArtworkResource> resourceListCallback)
Gets artworks that the user has posted or reposted.
|
static void |
getMyFeed(PenupClient penupClient,
int maxResults,
java.lang.String pageToken,
ResourceListCallback<ArtworkResource> resourceListCallback)
Gets the user's feed.
|
static void |
getMyPosts(PenupClient penupClient,
int maxResults,
java.lang.String pageToken,
ResourceListCallback<ArtworkResource> resourceListCallback)
Gets artworks that the user has posted.
|
static void |
getMyReposts(PenupClient penupClient,
int maxResults,
java.lang.String pageToken,
ResourceListCallback<ArtworkResource> resourceListCallback)
Gets artworks that the user has reposted.
|
static void |
getPopularArtworks(PenupClient penupClient,
Period period,
int maxResults,
java.lang.String pageToken,
ResourceListCallback<ArtworkResource> resourceListCallback)
Gets popular artworks.
|
static void |
getPopularArtworksByApp(PenupClient penupClient,
Period period,
int maxResults,
java.lang.String pageToken,
ResourceListCallback<ArtworkResource> resourceListCallback)
Gets popular artworks posted via your application.
|
static void |
getPopularArtworksByTag(PenupClient penupClient,
java.lang.String tagId,
Period period,
int maxResults,
java.lang.String pageToken,
ResourceListCallback<ArtworkResource> resourceListCallback)
Gets popular artworks by the specified tag.
|
static void |
launchPostDialog(PenupClient penupClient,
Uri imageUri,
ResourceCallback<ArtworkResource> resourceCallback)
Launches the Post Dialog which provides a simple and consistent user interface to post an artwork easily.
|
static void |
postArtwork(PenupClient penupClient,
ArtworkResource artworkResource,
Uri imageUri,
ResourceCallback<ArtworkResource> resourceCallback)
Posts the specified artwork.
|