HomeGuidesAPI Reference
Submit Documentation FeedbackJoin Developer CommunityOptimizely GitHubOptimizely NuGetLog In

isMaxRecipientsPercentage

Queries whether the maximum number of recipients is given as a percentaged value in Optimizely Campaign.

This method depends on the methods setMaxRecipientsPercentage and setMaxRecipients.

Type: boolean

Parameters

NameTypeValue
sessionIdStringID of the session
mailingIdlongID of the mailing

Return values

  • true: The option Maximum number of recipients has been set as a percentaged value.
  • false: The option Maximum number of recipients has not been set as a percentaged value.

Code structure

boolean isMaxRecipientsPercentage(String sessionId, long mailingId)

Did this page help you?