Enums
The following enums are available globally.
-
Subviews tags enum. This is to make it easier to find views created by the product card layout
- productImgTag: tag for product image
- labelTag: tag for label
- headingTag: tag for heading label
- priceTag: tag for price
- discountPriceTag: tag for discount price
- findSimilarBtnTag: find similar button tag
- actionBtnTag: action button tag
- filterBtnTag: filter button tag
- colorPickBtnTag: color picker tag
- cameraBtnTag: take photo button tag
- galleryBtnTag: choose from photo library button tag
- cropBtnTag: crop button tag
Declaration
Swift
public enum ViProductCardTag : Int
-
Search solutions enum
- FIND_SIMILAR: find similar search
- YOU_MAY_ALSO_LIKE: you may also like search
- SEARCH_BY_IMAGE: search by image
- SEARCH_BY_COLOR: search by color
Declaration
Swift
public enum ViSearchType : Int
-
Border type enum. Used to indicate which border to add for product card
- TOP: add top border
- BOTTOM: add bottom border
- LEFT: add left border
- RIGHT: add right border
Declaration
Swift
public enum ViBorderType : Int
-
Supported filter item type
- CATEGORY: filter by category e.g. brand or category. This is a multiple selection filter
- RANGE: filter by a numeric range e.g. for price with min/max price
Declaration
Swift
public enum ViFilterItemType : Int
-
List of default tracking actions Refer to this link for more details: http://developers.visenze.com/setup/#Implement-ViSenze-analytics
- CLICK: user clicks on a product after search
- ADD_TO_CART: user clicks on add to cart button to add a product to shopping cart
- ADD_TO_WISHLIST: user clicks on favorite button to add to wishlist
Declaration
Swift
public enum ViDefaultTrackingAction : String
-
These actions are recorded automatically when calling various ViSenze API calls Please do not use these actions in your custom actions
See moreDeclaration
Swift
public enum ViReservedTrackingAction : String
-
Undocumented
See more