refreshCards

fun refreshCards(context: Context, listener: SyncCompleteListener)

Ask the SDK to refresh cards on user request for the account configured as default.

Pass an instance of SyncCompleteListener to be notified once new cards are fetched.

Since

1.0.0

Parameters

context

instance of Context

listener

fun refreshCards(context: Context, appId: String, listener: SyncCompleteListener)

Ask the SDK to refresh cards on user request for the given account.

Pass an instance of SyncCompleteListener to be notified once new cards are fetched.

Since

1.0.0

Parameters

context

instance of Context

appId

Account identifier, APP ID on the MoEngage Dashboard.

listener