Allows to set Custom context attribute when using rollout strategy with Custom rule.
@param key Name of the Custom rule
@param value Value of the Custom rule
returns ClientContext
Allows to set a Custom context attribute with a list of values when using rollout strategy with Custom rule.
@param key Name of the Custom rule
@param values Values of the Custom rule
returns ClientContext
Allows to set Country context when using rollout strategy with Country rule.
@param countryName name of the country provided as enum from StrategyAttributeCountryName
returns ClientContext
Allows to set Device context when using rollout strategy with Device rule.
@param device name of the device provided as enum from StrategyAttributeDeviceName
returns ClientContext
Allows to set Platform context when using rollout strategy with Platform rule.
@param platform name of the platform provided as enum from StrategyAttributePlatformName
returns ClientContext
For Percentage rule to work Context either needs userKey or sessionKey.
If userKey is not provided, sessionKey can be used instead
@param sessionKey
returns ClientContext
Allows to set User Key context when using rollout strategy with User Key rule.
userKey can be anything that identifies your user, e.g userId, email, etc.
@param userKey
returns ClientContext