GetSelectedProduct
Get the last product sent to the SetOnProductSelectedCallback callback.
Function
string GetSelectedProduct()
Return Value
Returns the last product selected by the user through the callback registered through SetOnProductSelectedCallback. If no product has been selected, this function returns null.
Example
Print the last selected product to the console.
console.log(SYM3.GetSelectedProduct());