TypeBuilders.FloatProp


@RequiresSchemaVersion(major = 1, minor = 0)
public final class TypeBuilders.FloatProp


A float type.

Summary

Nested types

Builder for FloatProp

Public methods

@Nullable DynamicBuilders.DynamicFloat

Gets the dynamic value.

float

Gets the static value.

@NonNull String

Public methods

getDynamicValue

Added in 1.0.0
public @Nullable DynamicBuilders.DynamicFloat getDynamicValue()

Gets the dynamic value. Note that when setting this value, the static value is still required to be set to support older renderers that only read the static value. If dynamicValue has an invalid result, the provided static value will be used instead.

getValue

Added in 1.0.0
public float getValue()

Gets the static value. If a dynamic value is also set and the renderer supports dynamic values for the corresponding field, this static value will be ignored. If the static value is not specified, zero will be used instead.

toString

public @NonNull String toString()

Discover the latest app development tools, platform updates, training, and documentation for developers across every Android device.

Updated Dec 18, 2024

Plan to create quality apps and features from the start by understanding best practices and requirements.

Updated Aug 12, 2024

Discover the latest app development tools, platform updates, training, and documentation for developers across every Android device.

Updated May 2, 2024