my.QUEvaluateIntercept

This method evaluates the specified intercept and calls the specified completion callback with a TargetingResult object. The TargetingResult object indicates the result of the evaluation through the passed() method

Sample Code

copy
To be added

Parameters

Name

Type

Required

Description

interceptId

string

true

interceptId

autoDisplay

bool

false

Whether to display automatically when Passed of TargetingResult is true

autoCloseSurvey

bool

false

Whether to automatically close the questionnaire

Success Callback Function

Name

Type

Required

Description

success

bool

true

Whether the JSAPI call is successful

code

number

true

0:success, -1:fail,1001:parameter error

response

string

false