com.vwo.mobile.segmentation.SegmentUtils Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hybrid Show documentation
Show all versions of hybrid Show documentation
VWO mobile SDK for A/B Testing Android applications
package com.vwo.mobile.segmentation;
import com.vwo.mobile.models.Campaign;
import java.util.ArrayList;
import java.util.List;
/**
* Created by aman on Fri 05/01/18 18:04.
*/
public class SegmentUtils {
public static boolean evaluateSegmentation(Campaign campaign) {
if (campaign.getSegmentType() == null) {
return false;
}
if (campaign.getSegmentType().equals(Campaign.SEGMENT_CUSTOM)) {
List