Product Experiences -> Introduced variable type -> FILE
File type of variable can be registered in app after it is synced to dashboard. The variable will contain the latest file details along with path and listeners.
Example :
cleverTapAPI?.defineFileVariable("some_variable_name") // used to register
cleverTapAPI?.getVariable<String>("some_variable_name") // fetch file path
cleverTapAPI?.getVariableValue("some_variable_name") // file path
(SDK-3891)
Product Experiences -> Introduced variable type -> FILE
File type of variable can be registered in app after it is synced to dashboard. The variable will contain the latest file details along with path and listeners.
Example :
cleverTapAPI?.defineFileVariable("some_variable_name")
// used to registercleverTapAPI?.getVariable<String>("some_variable_name")
// fetch file pathcleverTapAPI?.getVariableValue("some_variable_name")
// file pathListeners:
cleverTapAPI?.onVariablesChangedAndNoDownloadsPending cleverTapAPI?.onceVariablesChangedAndNoDownloadsPending