GetIncentiveRuleSdkCallback

Callback triggered when a incentive rule 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(incentiveRuleDetails: IncentiveRuleDetailsModel)

The Incentive rule was successfully returned.