public class PhotoPost extends Post
Constructor and Description |
---|
PhotoPost(String urlToPost)
Create an instance of PhotoPost.
|
Modifier and Type | Method and Description |
---|---|
void |
setCaption(String caption)
Sets the caption to a photo post.
|
setAndroidDeeplink, setIOSDeepLink, setPostListener, setWebLink
public PhotoPost(String urlToPost)
urlToPost
- The url to post. It can be an http(s) url or a valid file path.public void setCaption(String caption)
caption
- The caption text to post