BVFeatureUsedEvent Class Reference
Inherits from | NSObject |
---|---|
Conforms to | BVAnalyticEvent |
Declared in | BVFeatureUsedEvent.h |
– initWithProductId:withBrand:withProductType:withEventName:withAdditionalParams:
Creates a Feature Used event for Bazaarvoice Mobile Analytics
- (nonnull id)initWithProductId:(nonnull NSString *)productId withBrand:(nullable NSString *)brand withProductType:(BVPixelProductType)bvProduct withEventName:(BVPixelFeatureUsedEventName)eventName withAdditionalParams:(nullable NSDictionary *)params
Parameters
productId |
Required - The product ID used to request the display content. In the event a product Id is not availble, use the contentId, or “none” if no product id was used to display the data. @prarm brand Optional - Brand of the product for which the user in interacting with |
---|---|
bvProduct |
Required - The product with API key being used. |
eventName |
Required - The actual user interaction that casued this event to be created. |
params |
Optional - Additional key/value pairs to be send along the request. Most cases this will be nil. |
Return Value
the event object that can be used to submit to Bazaarvoice via the BVPixel API.
Declared In
BVFeatureUsedEvent.h
productId
The product Id for product presented.
@property (nonnull, nonatomic, strong, readonly) NSString *productId
Declared In
BVFeatureUsedEvent.h
brand
Brand name for the product being viewed.
@property (nullable, nonatomic, strong, readonly) NSString *brand
Declared In
BVFeatureUsedEvent.h
bvProduct
The BV API used to request the product, as defined in the BVPixelProductType.
@property (nonatomic, assign, readonly) BVPixelProductType bvProduct
Declared In
BVFeatureUsedEvent.h
eventName
The name of the user interaction that invoked the event.
@property (nonatomic, assign, readonly) BVPixelFeatureUsedEventName eventName
Declared In
BVFeatureUsedEvent.h