Dev GuideAPI Reference
Dev GuideAPI ReferenceUser GuideLegal TermsNuGetDev CommunityOptimizely AcademySubmit a ticketLog In
Dev Guide

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)