Superwall Android SDK
Toggle table of contents
0.0.0-docs
androidJvm
Target filter
androidJvm
Switch theme
Search in API
Skip to content
Superwall Android SDK
Superwall Android SDK
/
com.superwall.sdk.config.models
/
Survey
Survey
androidJvm
@
Serializable
data
class
Survey
(
val
id
:
String
,
val
assignmentKey
:
String
,
val
title
:
String
,
val
message
:
String
,
val
options
:
List
<
SurveyOption
>
,
val
presentationCondition
:
SurveyShowCondition
,
val
presentationProbability
:
Double
,
val
includeOtherOption
:
Boolean
,
val
includeCloseOption
:
Boolean
)
(
source
)
Members
Constructors
Survey
Link copied to clipboard
androidJvm
constructor
(
id
:
String
,
assignmentKey
:
String
,
title
:
String
,
message
:
String
,
options
:
List
<
SurveyOption
>
,
presentationCondition
:
SurveyShowCondition
,
presentationProbability
:
Double
,
includeOtherOption
:
Boolean
,
includeCloseOption
:
Boolean
)
Properties
assignment
Key
Link copied to clipboard
androidJvm
val
assignmentKey
:
String
id
Link copied to clipboard
androidJvm
val
id
:
String
include
Close
Option
Link copied to clipboard
androidJvm
val
includeCloseOption
:
Boolean
include
Other
Option
Link copied to clipboard
androidJvm
val
includeOtherOption
:
Boolean
message
Link copied to clipboard
androidJvm
val
message
:
String
options
Link copied to clipboard
androidJvm
val
options
:
List
<
SurveyOption
>
presentation
Condition
Link copied to clipboard
androidJvm
val
presentationCondition
:
SurveyShowCondition
presentation
Probability
Link copied to clipboard
androidJvm
val
presentationProbability
:
Double
title
Link copied to clipboard
androidJvm
val
title
:
String
Functions
has
Seen
Survey
Link copied to clipboard
androidJvm
fun
hasSeenSurvey
(
storage
:
LocalStorage
)
:
Boolean
should
Assign
Holdout
Link copied to clipboard
androidJvm
fun
shouldAssignHoldout
(
isDebuggerLaunched
:
Boolean
)
:
Boolean