Package com.swrve.sdk.runnable
Class UIThreadSwrveResourcesRunnable
- java.lang.Object
-
- com.swrve.sdk.runnable.UIThreadSwrveRunnable
-
- com.swrve.sdk.runnable.UIThreadSwrveResourcesRunnable
-
- All Implemented Interfaces:
SwrveUserResourcesListener
,java.lang.Runnable
public abstract class UIThreadSwrveResourcesRunnable extends UIThreadSwrveRunnable implements SwrveUserResourcesListener
This helper class is used to run UI logic to handle the result of Swrve::getUserResources() Note: the callback method onResourcesSuccess will be called from the same UI threat than the caller Activity.
-
-
Field Summary
-
Fields inherited from class com.swrve.sdk.runnable.UIThreadSwrveRunnable
exception
-
-
Constructor Summary
Constructors Constructor Description UIThreadSwrveResourcesRunnable()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
run()
void
setData(java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>> resources, java.lang.String resourcesAsJSON)
-
Methods inherited from class com.swrve.sdk.runnable.UIThreadSwrveRunnable
setException
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.swrve.sdk.SwrveUserResourcesListener
onUserResourcesError, onUserResourcesSuccess
-
-