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

isBounceCounterThresholdExeeded

Queries whether a recipient has exceeded either the hard or the soft bounce threshold in Optimizely Campaign.

See also getBounceCounterThreshold.

By default, the media type EMAIL is used. Use the SessionWebservice's setMediaType method to select another media type such as SMS.

Type: Boolean

Parameters

NameTypeValue
sessionIdStringID of the session
recipientIdStringID of the recipient

Return values

  • true: Recipient has exceeded the hard or soft bounce threshold
  • false: Recipient has not exceeded the hard or soft bounce threshold

Code structure

boolean isBounceCounterThresholdExeeded(String sessionId, String recipientId)