Actions

class Actions

Batch Action manager

Functions

Link copied to clipboard
open fun addDrawableAlias(@NonNull alias: String, @DrawableRes drawableID: Int)
Add an alias to a drawable that can be referenced remotely.
Link copied to clipboard
open fun performAction(@NonNull context: Context, @NonNull actionIdentifier: String, @Nullable arguments: JSONObject): Boolean
Perform an action by its identifier.
Link copied to clipboard
open fun register(@NonNull userAction: UserAction)
Register an action with Batch.
Link copied to clipboard
Set a deeplink interceptor.
Link copied to clipboard
open fun unregister(@NonNull identifier: String)
Unregister an action from Batch.