Package io.smooch.ui

Class ConversationActivityBuilder


  • public class ConversationActivityBuilder
    extends java.lang.Object
    This builder is used to configure the ConversationActivity
    • Method Detail

      • withStartingText

        public ConversationActivityBuilder withStartingText​(java.lang.String startingText)
        Specifies the starting text used to pre-fill the conversation activity text box
        Parameters:
        startingText - the starting text to display
        Returns:
        the ConversationActivityBuilder
      • show

        public void show​(android.content.Context context)
        Starts the ConversationActivity with the specified configuration
        Parameters:
        context - the Context from which Context.startActivity(Intent) will be invoked
      • intent

        public android.content.Intent intent​(android.content.Context context)
        Creates an Intent for the ConversationActivity with the specified configuration
        Parameters:
        context - the Context from which Context.startActivity(Intent) will be invoked
        Returns:
        the constructed Intent