checkForNewBadgeEarned
fun checkForNewBadgeEarned(programGamificationProfile: ProgramGamificationProfile, widgetManager: (RealTimeClientMessage) -> Unit)
Check for latest badges and push the coolect badge widget into widget messaging client
Parameters
program
reward object that is typically fetched after widget interaction .
widgetManager
last layer in widget pipeline where new badge collection widget may be published.