toggle menu
braze-android-sdk
33.1.0
androidJvm
switch theme
search in API
braze-android-sdk
/
com.braze.ui.banners.jsinterface
/
BannerJavascriptInterface
Banner
Javascript
Interface
class
BannerJavascriptInterface
(
context
:
Context
,
val
placementId
:
String
)
:
JavascriptInterfaceBase
Members
Constructors
Banner
Javascript
Interface
Link copied to clipboard
constructor
(
context
:
Context
,
placementId
:
String
)
Properties
placement
Id
Link copied to clipboard
val
placementId
:
String
user
Link copied to clipboard
val
user
:
BannerUserJavascriptInterface
Functions
change
User
Link copied to clipboard
fun
changeUser
(
userId
:
String
,
sdkAuthSignature
:
String
?
)
log
Button
Click
Link copied to clipboard
open
override
fun
logButtonClick
(
buttonId
:
String
?
)
log
Click
Link copied to clipboard
open
override
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
(
)