fetchExperiencesMeta
fun fetchExperiencesMeta(context: Context, status: List<ExperienceStatus>, onSuccess: SuccessCallback<ExperienceCampaignsMetadata>, onFailure: (reason: RequestFailureReasonCode, message: String) -> Unit, workspaceId: String? = null)
Fetches the metadata for personalized experiences.
Since
1.0.0
Parameters
context
An instance of Context.
status
The list of experience statuses to filter the experiences.
onSuccess
A callback invoked with the metadata of the experiences on success. This callback is always invoked on the main thread
onFailure
A callback invoked with the reason and message on failure. This callback is always invoked on the main thread
workspaceId
The optional workspace ID; if null, the default instance will be used.
Throws
if the SDK is not initialized for the given instance.