-
public final class MobileSegment.WireframeUpdateMutation.ImageWireframeUpdate extends MobileSegment.WireframeUpdateMutation
Schema of common properties for WireframeUpdate events type.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classMobileSegment.WireframeUpdateMutation.ImageWireframeUpdate.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 Stringbase64private StringresourceIdprivate StringmimeTypeprivate BooleanisEmpty
-
Constructor Summary
Constructors Constructor Description MobileSegment.WireframeUpdateMutation.ImageWireframeUpdate(Long id, Long x, Long y, Long width, Long height, MobileSegment.WireframeClip clip, MobileSegment.ShapeStyle shapeStyle, MobileSegment.ShapeBorder border, String base64, String resourceId, String mimeType, Boolean isEmpty)
-
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 StringgetBase64()final UnitsetBase64(String base64)final StringgetResourceId()final UnitsetResourceId(String resourceId)final StringgetMimeType()final UnitsetMimeType(String mimeType)final BooleangetIsEmpty()final UnitsetIsEmpty(Boolean isEmpty)JsonElementtoJson()-
-
Constructor Detail
-
MobileSegment.WireframeUpdateMutation.ImageWireframeUpdate
MobileSegment.WireframeUpdateMutation.ImageWireframeUpdate(Long id, Long x, Long y, Long width, Long height, MobileSegment.WireframeClip clip, MobileSegment.ShapeStyle shapeStyle, MobileSegment.ShapeBorder border, String base64, String resourceId, String mimeType, Boolean isEmpty)
- 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.base64- base64 representation of the image.resourceId- Unique identifier of the image resourcemimeType- MIME type of the image fileisEmpty- Flag describing an image wireframe that should render an empty state placeholder
-
-
Method Detail
-
getClip
final MobileSegment.WireframeClip getClip()
-
getShapeStyle
final MobileSegment.ShapeStyle getShapeStyle()
-
getBorder
final MobileSegment.ShapeBorder getBorder()
-
setBase64
final Unit setBase64(String base64)
- Parameters:
base64- base64 representation of the image.
-
getResourceId
final String getResourceId()
-
setResourceId
final Unit setResourceId(String resourceId)
- Parameters:
resourceId- Unique identifier of the image resource
-
getMimeType
final String getMimeType()
-
setMimeType
final Unit setMimeType(String mimeType)
- Parameters:
mimeType- MIME type of the image file
-
getIsEmpty
final Boolean getIsEmpty()
-
setIsEmpty
final Unit setIsEmpty(Boolean isEmpty)
- Parameters:
isEmpty- Flag describing an image wireframe that should render an empty state placeholder
-
toJson
JsonElement toJson()
-
-
-
-