withImageUrl static method
Create an attachment with image URL.
imageUrl
image URL.
Implementation
static withImageUrl(String imageUrl) {
MediaAttachment m = new MediaAttachment();
m.imageUrl = imageUrl;
return m;
}
Create an attachment with image URL.
imageUrl
image URL.
static withImageUrl(String imageUrl) {
MediaAttachment m = new MediaAttachment();
m.imageUrl = imageUrl;
return m;
}