inappmessaging / com.rakuten.tech.mobile.inappmessaging.runtime.data.models.appevents / CustomEvent / addAttribute
addAttribute
@NotNull fun addAttribute(@NotNull key:
String
, @NotNull value:
Int
):
CustomEvent
This method adds custom attribute of integer type.
@NotNull fun addAttribute(@NotNull key:
String
, @NotNull value:
Double
):
CustomEvent
This method adds custom attribute of double type.
@NotNull fun addAttribute(@NotNull key:
String
, @NotNull value:
String
):
CustomEvent
This method adds custom attribute of string type.
@NotNull fun addAttribute(@NotNull key:
String
, @NotNull value:
Boolean
):
CustomEvent
This method adds custom attribute of boolean type.
@NotNull fun addAttribute(@NotNull key:
String
, @NotNull value:
Date
):
CustomEvent
This method adds custom attribute of date type.