@Test public void shouldSendPageViewImmediately() throws Exception { BVPageViewEvent event = stubData.getPageViewEvent(); assertTrue(BVPixel.shouldDispatchImmediately(event)); }
static <EventType extends BVAnalyticsEvent> boolean shouldDispatchImmediately(EventType event) { return event instanceof BVPersonalizationEvent || event instanceof BVPageViewEvent; }
BVPixel { static <EventType extends BVAnalyticsEvent> boolean shouldDispatchImmediately(EventType event) { return event instanceof BVPersonalizationEvent || event instanceof BVPageViewEvent; } }
BVPixel { static <EventType extends BVAnalyticsEvent> boolean shouldDispatchImmediately(EventType event) { return event instanceof BVPersonalizationEvent || event instanceof BVPageViewEvent; } BVPixel(BVPixelDispatcher bvPixelDispatcher, String defaultClientId); }
BVPixel { static <EventType extends BVAnalyticsEvent> boolean shouldDispatchImmediately(EventType event) { return event instanceof BVPersonalizationEvent || event instanceof BVPageViewEvent; } BVPixel(BVPixelDispatcher bvPixelDispatcher, String defaultClientId); static Builder builder(@NonNull Context context, @NonNull String clientId, boolean isStaging, boolean dryRunAnalytics, Locale defaultLocale); static BVPixel getInstance(); void track(@NonNull EventType event); void trackEventForClient(@NonNull EventType event, @NonNull String clientId); }
BVPixel { static <EventType extends BVAnalyticsEvent> boolean shouldDispatchImmediately(EventType event) { return event instanceof BVPersonalizationEvent || event instanceof BVPageViewEvent; } BVPixel(BVPixelDispatcher bvPixelDispatcher, String defaultClientId); static Builder builder(@NonNull Context context, @NonNull String clientId, boolean isStaging, boolean dryRunAnalytics, Locale defaultLocale); static BVPixel getInstance(); void track(@NonNull EventType event); void trackEventForClient(@NonNull EventType event, @NonNull String clientId);  }