-
public final class ViewEvent.ScrollScroll properties
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classViewEvent.Scroll.Companion
-
Field Summary
Fields Modifier and Type Field Description private final NumbermaxDepthprivate final NumbermaxDepthScrollTopprivate final NumbermaxScrollHeightprivate final NumbermaxScrollHeightTime
-
Constructor Summary
Constructors Constructor Description ViewEvent.Scroll(Number maxDepth, Number maxDepthScrollTop, Number maxScrollHeight, Number maxScrollHeightTime)
-
Method Summary
Modifier and Type Method Description final NumbergetMaxDepth()final NumbergetMaxDepthScrollTop()final NumbergetMaxScrollHeight()final NumbergetMaxScrollHeightTime()final JsonElementtoJson()-
-
Constructor Detail
-
ViewEvent.Scroll
ViewEvent.Scroll(Number maxDepth, Number maxDepthScrollTop, Number maxScrollHeight, Number maxScrollHeightTime)
- Parameters:
maxDepth- Distance between the top and the lowest point reached on this view (in pixels)maxDepthScrollTop- Page scroll top (scrolled distance) when the maximum scroll depth was reached for this view (in pixels)maxScrollHeight- Maximum page scroll height (total height) for this view (in pixels)maxScrollHeightTime- Duration between the view start and the time the max scroll height was reached for this view (in nanoseconds)
-
-
Method Detail
-
getMaxDepth
final Number getMaxDepth()
-
getMaxDepthScrollTop
final Number getMaxDepthScrollTop()
-
getMaxScrollHeight
final Number getMaxScrollHeight()
-
getMaxScrollHeightTime
final Number getMaxScrollHeightTime()
-
toJson
final JsonElement toJson()
-
-
-
-