-
public final class MobileSegment.Wireframe.EmbeddedContentWireframe extends MobileSegment.Wireframe
Schema of common properties for Wireframe events type.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classMobileSegment.Wireframe.EmbeddedContentWireframe.Companion
-
Field Summary
Fields Modifier and Type Field Description private final Stringtypeprivate final Longidprivate final Longxprivate final Longyprivate final Longwidthprivate final Longheightprivate final MobileSegment.WireframeClipclipprivate final MobileSegment.ShapeStyleshapeStyleprivate final MobileSegment.ShapeBorderborderprivate final StringslotIdprivate final BooleanisVisibleprivate final StringpermanentId
-
Constructor Summary
Constructors Constructor Description MobileSegment.Wireframe.EmbeddedContentWireframe(Long id, Long x, Long y, Long width, Long height, MobileSegment.WireframeClip clip, MobileSegment.ShapeStyle shapeStyle, MobileSegment.ShapeBorder border, String slotId, Boolean isVisible, String permanentId)
-
Method Summary
Modifier and Type Method Description final StringgetType()final LonggetId()final LonggetX()final LonggetY()final LonggetWidth()final LonggetHeight()final MobileSegment.WireframeClipgetClip()final MobileSegment.ShapeStylegetShapeStyle()final MobileSegment.ShapeBordergetBorder()final StringgetSlotId()final BooleangetIsVisible()final StringgetPermanentId()JsonElementtoJson()-
-
Constructor Detail
-
MobileSegment.Wireframe.EmbeddedContentWireframe
MobileSegment.Wireframe.EmbeddedContentWireframe(Long id, Long x, Long y, Long width, Long height, MobileSegment.WireframeClip clip, MobileSegment.ShapeStyle shapeStyle, MobileSegment.ShapeBorder border, String slotId, Boolean isVisible, String permanentId)
- Parameters:
id- Defines the unique ID of the wireframe.x- The position in pixels on X axis of the UI element in absolute coordinates.y- The position in pixels on Y axis of the UI element in absolute coordinates.width- The width in pixels of the UI element, normalized based on the device pixels per inch density (DPI).height- The height in pixels of the UI element, normalized based on the device pixels per inch density (DPI).clip- Schema of clipping information for a Wireframe.slotId- Unique Id of the slot containing this embedded content.isVisible- Whether this embedded content is visible or not.permanentId- A globally unique and stable identifier for this UI element, computed as the hash of the element's path.
-
-
Method Detail
-
getClip
final MobileSegment.WireframeClip getClip()
-
getShapeStyle
final MobileSegment.ShapeStyle getShapeStyle()
-
getBorder
final MobileSegment.ShapeBorder getBorder()
-
getIsVisible
final Boolean getIsVisible()
-
getPermanentId
final String getPermanentId()
-
toJson
JsonElement toJson()
-
-
-
-