Builder

class Builder : ViewObjectDataBuilder<UiObjectData.Builder, UiObject, UiObjectData>

Constructors

Builder
Link copied to clipboard
open fun Builder(@NonNull position: GeoCoordinates, @NonNull factory: UiObject.ViewFactory, @NonNull creator: ObjectCreator<UiObject, UiObjectData>)

Functions

build
Link copied to clipboard
fun build(): I
setAnchor
Link copied to clipboard
open fun setAnchor(@FloatRange(from = 0.0, to = 1.0x: Float, @FloatRange(from = 0.0, to = 1.0y: Float): UiObjectData.Builder
setZIndex
Link copied to clipboard
fun setZIndex(zIndex: Int): B
withPayload
Link copied to clipboard
fun withPayload(@NonNull payload: Parcelable): B