public class ConversationActivityBuilder
extends java.lang.Object
ConversationActivity| Modifier and Type | Method and Description |
|---|---|
android.content.Intent |
intent(android.content.Context context)
Creates an
Intent for the ConversationActivity with the specified configuration |
void |
show(android.content.Context context)
Starts the
ConversationActivity with the specified configuration |
ConversationActivityBuilder |
withConversationId(java.lang.String conversationId)
Specifies the conversation to be loaded
|
ConversationActivityBuilder |
withFlags(int flags)
Specifies the intent flags for the conversation activity
|
ConversationActivityBuilder |
withStartingText(java.lang.String startingText)
Specifies the starting text used to pre-fill the conversation activity text box
|
public ConversationActivityBuilder withFlags(int flags)
flags - the Intent flagsConversationActivityBuilderpublic ConversationActivityBuilder withStartingText(java.lang.String startingText)
startingText - the starting text to displayConversationActivityBuilderpublic ConversationActivityBuilder withConversationId(java.lang.String conversationId)
conversationId - the conversationId to loadConversationActivityBuilderpublic void show(android.content.Context context)
ConversationActivity with the specified configurationcontext - the Context from which Context.startActivity(Intent) will be invokedpublic android.content.Intent intent(android.content.Context context)
Intent for the ConversationActivity with the specified configurationcontext - the Context from which Context.startActivity(Intent) will be invokedIntent