get Spot It Technique Data
Retrieves data required for the Spot It technique.
Includes lists of situations, symptoms, endorsements, and successes used in Spot It exercises.
Return
SpotItData containing the technique’s data sources.
Throws
if data cannot be retrieved.
Android (Kotlin)
lifecycleScope.launch {
try {
val data = AFCore.mentalFitness().getSpotItTechniqueData()
showSpotItSetup(data)
} catch (t: Throwable) {
showError("Unable to load Spot It data: ${t.message}")
}
}Content copied to clipboard
iOS (Swift)
Task {
do {
let data = try await AFCore.shared.mentalFitness().getSpotItTechniqueData()
self.showSpotItSetup(data)
} catch {
self.showError("Unable to load Spot It data: \\(error.localizedDescription)")
}
}Content copied to clipboard