public interface PostListener
TextPost
and PhotoPost
.
To receive success or failure notifications for your post, please implement the
this listener and register it using setListener in TextPost
or PhotoPost
.Modifier and Type | Method and Description |
---|---|
void |
onPostFailure(String errorMessage)
This method indicates that the post to Tumblr failed.
|
void |
onPostSuccess(Long postId)
This method indicates that the post to Tumblr was successfully created.
|
void onPostSuccess(Long postId)
postId
- The corresponding postId created on Tumblr.void onPostFailure(String errorMessage)
errorMessage
- Friendly message explaining the reason for post failure.