ListIncentiveRulesSdkCallback

Callback triggered when a list of incentive rules is returned or when an event occurs.

Functions

Link copied to clipboard
abstract fun onEvent(event: String, metadata: Map<String, String>? = null)

An event occurred in the SDK.

Link copied to clipboard
abstract fun onSuccess(incentiveRules: List<IncentiveRuleDetailsModel>)

The list of incentive rules was successfully returned.