public static class InviteContent.Builder
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
InviteContent |
build()
Creates new InviteContent instance.
|
InviteContent.Builder |
withImage(android.graphics.Bitmap bitmap)
Deprecated.
|
InviteContent.Builder |
withImageUrl(java.lang.String imageUrl)
Deprecated.
|
InviteContent.Builder |
withMediaAttachment(MediaAttachment mediaAttachment)
Attach media.
|
InviteContent.Builder |
withSubject(java.lang.String subject)
Set invite content subject.
|
InviteContent.Builder |
withText(java.lang.String text)
Set invite content text.
|
InviteContent.Builder |
withVideo(byte[] video)
Deprecated.
|
public InviteContent.Builder withSubject(java.lang.String subject)
subject
- Subject to use.InviteContent.Builder
public InviteContent.Builder withText(java.lang.String text)
text
- Text to use.InviteContent.Builder
@Deprecated public InviteContent.Builder withImageUrl(java.lang.String imageUrl)
withMediaAttachment(MediaAttachment)
.InviteContent
at the same time.
Using this method resets attached gif and video if any.imageUrl
- URL to use.InviteContent.Builder
@Deprecated public InviteContent.Builder withImage(android.graphics.Bitmap bitmap)
withMediaAttachment(MediaAttachment)
.InviteContent
at the same time.
Using this method resets attached gif and video if any.bitmap
- Image to use.InviteContent.Builder
@Deprecated public InviteContent.Builder withVideo(byte[] video)
withMediaAttachment(MediaAttachment)
.video
- content of video.InviteContent.Builder
public InviteContent.Builder withMediaAttachment(MediaAttachment mediaAttachment)
mediaAttachment
- media attachment.InviteContent.Builder
public InviteContent build()
(c) Copyright GetSocial BV, 2018. All Rights Reserved.