Back to project page playnomics-android.
The source code is released under:
Apache License
If you think the Android project playnomics-android listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.playnomics.android.client; // w w w . j a v a2s .c o m import android.os.AsyncTask; import com.playnomics.android.sdk.IPlaynomicsSegmentationDelegate; import com.playnomics.android.segments.UserSegmentIds; import com.playnomics.android.session.Session; import com.playnomics.android.util.IAsyncCall; import com.playnomics.android.util.AsyncTaskRunner; import com.playnomics.android.util.IConfig; import com.playnomics.android.util.Logger; public class SegmentationClient { private Session session; private IConfig config; private Logger logger; public SegmentationClient(Session session, IConfig config, Logger logger) { super(); this.session = session; this.config = config; this.logger = logger; } public void fetchUserSegmentIds(final IPlaynomicsSegmentationDelegate delegate) { AsyncTaskRunner fetchUserSegmentTask = new AsyncTaskRunner(new UserSegmentIds(session, config, logger, delegate)); fetchUserSegmentTask.execute(); } }