-
public final class MobileSegment.MobileIncrementalData.PointerInteractionData extends MobileSegment.MobileIncrementalData
Schema of a PointerInteraction.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classMobileSegment.MobileIncrementalData.PointerInteractionData.Companion
-
Field Summary
Fields Modifier and Type Field Description private final Longsourceprivate final MobileSegment.PointerEventTypepointerEventTypeprivate final MobileSegment.PointerTypepointerTypeprivate final LongpointerIdprivate final Numberxprivate final Numbery
-
Constructor Summary
Constructors Constructor Description MobileSegment.MobileIncrementalData.PointerInteractionData(MobileSegment.PointerEventType pointerEventType, MobileSegment.PointerType pointerType, Long pointerId, Number x, Number y)
-
Method Summary
Modifier and Type Method Description final LonggetSource()final MobileSegment.PointerEventTypegetPointerEventType()final MobileSegment.PointerTypegetPointerType()final LonggetPointerId()final NumbergetX()final NumbergetY()JsonElementtoJson()-
-
Constructor Detail
-
MobileSegment.MobileIncrementalData.PointerInteractionData
MobileSegment.MobileIncrementalData.PointerInteractionData(MobileSegment.PointerEventType pointerEventType, MobileSegment.PointerType pointerType, Long pointerId, Number x, Number y)
- Parameters:
pointerEventType- Schema of an PointerEventTypepointerType- Schema of an PointerTypepointerId- Id of the pointer of this PointerInteraction.x- X-axis coordinate for this PointerInteraction.y- Y-axis coordinate for this PointerInteraction.
-
-
Method Detail
-
getPointerEventType
final MobileSegment.PointerEventType getPointerEventType()
-
getPointerType
final MobileSegment.PointerType getPointerType()
-
getPointerId
final Long getPointerId()
-
toJson
JsonElement toJson()
-
-
-
-