braze-android-sdk
24.3.0
braze-android-sdk
/
com.braze.ui.inappmessage.jsinterface
/
InAppMessageJavascriptInterface
In
App
Message
Javascript
Interface
class
InAppMessageJavascriptInterface
(
context
:
Context
,
inAppMessage
:
IInAppMessageHtml
)
Used to generate the javascript API in html in-app messages.
Constructors
Functions
Properties
Constructors
In
App
Message
Javascript
Interface
Link copied to clipboard
fun
InAppMessageJavascriptInterface
(
context
:
Context
,
inAppMessage
:
IInAppMessageHtml
)
Functions
change
User
Link copied to clipboard
fun
changeUser
(
userId
:
String
,
sdkAuthSignature
:
String
?
)
log
Button
Click
Link copied to clipboard
fun
logButtonClick
(
buttonId
:
String
?
)
log
Click
Link copied to clipboard
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
:
Double
,
currencyCode
:
String
?
,
quantity
:
Int
,
propertiesJSON
:
String
?
)
parse
Properties
Link copied to clipboard
fun
parseProperties
(
propertiesJSON
:
String
?
)
:
BrazeProperties
?
request
Immediate
Data
Flush
Link copied to clipboard
fun
requestImmediateDataFlush
(
)
request
Push
Permission
Link copied to clipboard
fun
requestPushPermission
(
)
Properties
user
Link copied to clipboard
val
user
:
InAppMessageUserJavascriptInterface