reportEvent
Button Merchant Library
Version 1.6.1
The Button Merchant Library for Android provides functionalities to report events and manage user interactions. Below are the key components and their references.
Main Components
Exception Handling
Reporting Events
reportEvent
open fun reportEvent(
@NonNull context: Context,
@NonNull name: String,
@Nullable properties: Map<String, String>
)
Reports an event and associated properties to Button.
Parameters
- context: a Context instance that can be used to access app resources like SharedPreferences.
- name: the name of the event.
- properties: Optional key-value pairs to be associated with the event.