Package com.swrve.sdk

Interface SwrveRealTimeUserPropertiesListener


  • public interface SwrveRealTimeUserPropertiesListener
    • Method Detail

      • onRealTimeUserPropertiesSuccess

        void onRealTimeUserPropertiesSuccess​(java.util.Map<java.lang.String,​java.lang.String> properties,
                                             java.lang.String propertiesAsJSON)
        This method is invoked asynchronously to return the request response of the Swrve::getRealTimeUserProperties(). Note: this method is invoked from a different thread than the thread used to call Swrve::getRealTimeUserProperties().
        Parameters:
        properties - the real time user properties represented as a map.
        propertiesAsJSON - the properties as JSON.
      • onRealTimeUserPropertiesError

        void onRealTimeUserPropertiesError​(java.lang.Exception exception)
        Called back on error.
        Parameters:
        exception - Exception caused when trying to obtain user resources.