Package ai. systema. android
Types
Systema AIClient
Link copied to clipboard
object SystemaAIClient
Content copied to clipboard
Systema Android Storage
Link copied to clipboard
Functions
add Container Tags
Link copied to clipboard
add On Attach State Change Listener
Link copied to clipboard
fun SystemaAI.addOnAttachStateChangeListener(v: View, listener: View.OnAttachStateChangeListener? = null, tagMapping: Map<String, Int>? = null, dispatcher: CoroutineDispatcher = Dispatchers.IO, callback: (Result<HttpResponse>) -> Unit = {}): Result<SystemaOnAttachStateChangeListener>
Content copied to clipboard
add On Click Listener
Link copied to clipboard
fun SystemaAI.addOnClickListener(v: View, listener: View.OnClickListener? = null, tagMapping: Map<String, Int>? = null, callback: (Result<HttpResponse>) -> Unit = {}): Result<SystemaViewOnClickListener>
Content copied to clipboard
add On Layout Change Listener
Link copied to clipboard
fun SystemaAI.addOnLayoutChangeListener(v: View, listener: View.OnLayoutChangeListener? = null, tagMapping: Map<String, Int>? = null, dispatcher: CoroutineDispatcher = Dispatchers.IO, callback: (Result<HttpResponse>) -> Unit = {}): Result<SystemaOnLayoutChangeListener>
Content copied to clipboard
add Product Tags
Link copied to clipboard
get Add To Cart Listener
Link copied to clipboard
fun SystemaAI.getAddToCartListener(getItems: () -> List<CartItem>, tagMapping: Map<String, Int>? = null, callback: (Result<HttpResponse>) -> Unit = {}): Result<SystemaOnClickListener>
Content copied to clipboard
get Add To Wishlist Listener
Link copied to clipboard
fun SystemaAI.getAddToWishlistListener(getItems: () -> List<WishlistItem>, tagMapping: Map<String, Int>? = null, callback: (Result<HttpResponse>) -> Unit = {}): Result<SystemaOnClickListener>
Content copied to clipboard
get On Attach State Change Listener
Link copied to clipboard
fun SystemaAI.getOnAttachStateChangeListener(tagMapping: Map<String, Int>? = null, dispatcher: CoroutineDispatcher = Dispatchers.IO, callback: (Result<HttpResponse>) -> Unit = {}): Result<SystemaOnAttachStateChangeListener>
Content copied to clipboard
get On Click Listener
Link copied to clipboard
fun SystemaAI.getOnClickListener(tagMapping: Map<String, Int>? = null, dispatcher: CoroutineDispatcher = Dispatchers.IO, callback: (Result<HttpResponse>) -> Unit = {}): Result<SystemaViewOnClickListener>
Content copied to clipboard
get On Layout Change Listener
Link copied to clipboard
fun SystemaAI.getOnLayoutChangeListener(tagMapping: Map<String, Int>? = null, dispatcher: CoroutineDispatcher = Dispatchers.IO, callback: (Result<HttpResponse>) -> Unit = {}): Result<SystemaOnLayoutChangeListener>
Content copied to clipboard
get Parent On Scroll Change Listener
Link copied to clipboard
fun SystemaAI.getParentOnScrollChangeListener(recContainer: View, tagMapping: Map<String, Int>? = null, dispatcher: CoroutineDispatcher = Dispatchers.IO, callback: (Result<HttpResponse>) -> Unit = {}): Result<SystemaOnParentScrollChangeListener>
Content copied to clipboard
get Remove From Cart Listener
Link copied to clipboard
fun SystemaAI.getRemoveFromCartListener(getItem: () -> CartItem, tagMapping: Map<String, Int>? = null, callback: (Result<HttpResponse>) -> Unit = {}): Result<SystemaOnClickListener>
Content copied to clipboard
is Visible On Screen
Link copied to clipboard
Check if the view is visible on the screen
monitor Add To Cart Button
Link copied to clipboard
fun SystemaAI.monitorAddToCartButton(btn: View, product: Product, getItems: () -> List<CartItem>, onClickListener: View.OnClickListener? = null, callback: (Result<HttpResponse>) -> Unit = {}): SystemaOnClickListener?
Content copied to clipboard
monitor Add To Wishlist Button
Link copied to clipboard
fun SystemaAI.monitorAddToWishlistButton(btn: View, product: Product, getItems: () -> List<WishlistItem>, onClickListener: View.OnClickListener? = null, callback: (Result<HttpResponse>) -> Unit = {}): SystemaOnClickListener?
Content copied to clipboard
monitor Non Product Page
Link copied to clipboard
fun SystemaAI.monitorNonProductPage(view: View, pageUrl: String, attachStateChangeListener: View.OnAttachStateChangeListener? = null, callback: (Result<HttpResponse>) -> Unit = {}): SystemaOnAttachStateChangeListener?
Content copied to clipboard
monitor Product Page
Link copied to clipboard
fun SystemaAI.monitorProductPage(view: View, product: Product, attachStateChangeListener: View.OnAttachStateChangeListener? = null, callback: (Result<HttpResponse>) -> Unit = {}): SystemaOnAttachStateChangeListener?
Content copied to clipboard
monitor Rec Container
Link copied to clipboard
fun SystemaAI.monitorRecContainer(recContainer: View, resp: RecommendationResponse, containerLayoutChangeListener: View.OnLayoutChangeListener? = null, scrollableView: View? = null, systemaScrollChangeListener: SystemaOnParentScrollChangeListener? = null, callback: (Result<HttpResponse>) -> Unit = {}): SystemaOnLayoutChangeListener?
Content copied to clipboard
monitor Rec Item
Link copied to clipboard
fun SystemaAI.monitorRecItem(view: View, product: Product, onClickListener: View.OnClickListener? = null, callback: (Result<HttpResponse>) -> Unit = {}): SystemaViewOnClickListener?
Content copied to clipboard
monitor Remove From Cart Button
Link copied to clipboard
fun SystemaAI.monitorRemoveFromCartButton(btn: View, product: Product, getItem: () -> CartItem, onClickListener: View.OnClickListener? = null, callback: (Result<HttpResponse>) -> Unit = {}): SystemaOnClickListener?
Content copied to clipboard
monitor Remove From Wishlist Button
Link copied to clipboard
fun SystemaAI.monitorRemoveFromWishlistButton(btn: View, product: Product, getItem: () -> WishlistItem, onClickListener: View.OnClickListener? = null, callback: (Result<HttpResponse>) -> Unit = {}): SystemaOnClickListener?
Content copied to clipboard
set Parent On Scroll Change Listener
Link copied to clipboard
fun SystemaAI.setParentOnScrollChangeListener(recContainer: View, containerParent: View, listener: View.OnScrollChangeListener? = null, tagMapping: Map<String, Int>? = null, dispatcher: CoroutineDispatcher = Dispatchers.IO, callback: (Result<HttpResponse>) -> Unit = {}): Result<SystemaOnParentScrollChangeListener>
Content copied to clipboard