Class SwrveConversation

  • All Implemented Interfaces:
    java.io.Serializable

    public class SwrveConversation
    extends com.swrve.sdk.SwrveBaseConversation
    implements java.io.Serializable
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected SwrveConversationCampaign campaign  
      • Fields inherited from class com.swrve.sdk.SwrveBaseConversation

        cacheDir, id, name, pages, priority
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean areAssetsReady​(java.util.Set<java.lang.String> assetsOnDisk)  
      SwrveConversationCampaign getCampaign()  
      com.swrve.sdk.conversations.engine.model.ConversationPage getFirstPage()  
      com.swrve.sdk.conversations.engine.model.ConversationPage getPageForControl​(com.swrve.sdk.conversations.engine.model.ControlBase control)  
      • Methods inherited from class com.swrve.sdk.SwrveBaseConversation

        getCacheDir, getId, getName, getPages, getPriority, setId, setName, setPages, setPriority
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • areAssetsReady

        public boolean areAssetsReady​(java.util.Set<java.lang.String> assetsOnDisk)
      • getFirstPage

        public com.swrve.sdk.conversations.engine.model.ConversationPage getFirstPage()
        Overrides:
        getFirstPage in class com.swrve.sdk.SwrveBaseConversation
        Returns:
        the first ConversationPage (Page)
      • getPageForControl

        public com.swrve.sdk.conversations.engine.model.ConversationPage getPageForControl​(com.swrve.sdk.conversations.engine.model.ControlBase control)
        Overrides:
        getPageForControl in class com.swrve.sdk.SwrveBaseConversation
        Returns:
        the ConversationPage (Page) for a specific control (Button) which was pressed