toggle menu
braze-android-sdk
37.0.0
androidJvm
switch theme
search in API
braze-android-sdk
/
com.braze.ui
/
JavascriptInterfaceBase
Javascript
Interface
Base
abstract
class
JavascriptInterfaceBase
(
context
:
Context
)
Inheritors
BannerJavascriptInterface
InAppMessageJavascriptInterface
Members
Constructors
Javascript
Interface
Base
Link copied to clipboard
constructor
(
context
:
Context
)
Functions
change
User
Link copied to clipboard
fun
changeUser
(
userId
:
String
,
sdkAuthSignature
:
String
?
)
log
Button
Click
Link copied to clipboard
abstract
fun
logButtonClick
(
buttonId
:
String
?
)
log
Click
Link copied to clipboard
abstract
fun
logClick
(
)
log
Custom
Event
With
JSON
Link copied to clipboard
fun
logCustomEventWithJSON
(
eventName
:
String
?
,
propertiesJSON
:
String
?
)
log
Purchase
With
JSON
Link copied to clipboard
fun
logPurchaseWithJSON
(
productId
:
String
?
,
price
:
String
,
currencyCode
:
String
?
,
quantity
:
String
,
propertiesJSON
:
String
?
)
parse
Properties
Link copied to clipboard
@
VisibleForTesting
fun
parseProperties
(
propertiesJSON
:
String
?
)
:
BrazeProperties
?
request
Immediate
Data
Flush
Link copied to clipboard
fun
requestImmediateDataFlush
(
)