# Functions
CheckCampaignType matches campaign type.
CreateImpressionForPush creates the impression from the arguments passed to push.
CreateImpressionTrackingGoal creates the impression from the arguments passed to track goal.
CreateImpressionTrackingUser creates the impression from the arguments passed to track user.
GenerateFor generates desired UUID.
GetCampaign function finds and returns campaign from given campaign_key.
GetCampaignForGoals function returns list of campaigns from the settings file that are in the list of CampaignKeys.
GetCampaignForKeys function returns list of campaigns from the settings file that are in the list of CampaignKeys.
GetCampaignGoal returns goal from given campaign and goal identifier.
GetCampaignVariation returns variation from given campaign and variationName.
GetControlVariation returns control variation from a given campaign.
No description provided by the author
GetKeyValue returns first key value pair of the given map.
GetRequest function to do a get call.
GetVariableForFeature gets the variable from the list of variables in the campaign that matches the variableKey.
GetVariableValueForVariation gets the variable from the list of variables in the variation that matches the variableKey.
GetVariationAllocationRanges returns list of variation with set allocation ranges.
GetVariationBucketingRange returns the bucket size of variation.
No description provided by the author
LogMessage function generates Log messages and logs them into the logger, logger can be defined by the user itself too.
No description provided by the author
No description provided by the author
ParseOptions - parses custom options.
ScaleVariations function It extracts the weights from all the variations inside the campaign and scales them so that the total sum of eligible variations weights become 100%.
ValidateActivate - validates Activate API parameters.
ValidateGetFeatureVariableValue - validates GetFeatureVariableValue API parameters.
ValidateGetVariationName - validates GetVariationName API parameters.
ValidateIsFeatureEnabled - validates IsFeatureEnabled API parameters.
ValidateLogger - validates Custom logger.
ValidatePush - validates Push API parameters.
ValidateStorage - validates Custom Storage.
ValidateTrack - validates Track API parameters.