Javascript Interface Base
Base class for JavaScript bridge interfaces exposed to Braze WebViews. Provides common SDK operations (user changes, event logging, purchases, data flushing) that can be invoked from HTML/JavaScript content.
Parameters
context
The Android Context for Braze SDK access.
Inheritors
Functions
Link copied to clipboard
Changes the current Braze user.
Link copied to clipboard
Logs a button click for the given button identifier.
Link copied to clipboard
Logs a custom event with optional JSON-encoded properties.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Requests an immediate flush of any pending analytics data to the Braze servers.