public interface

TypesProto.FloatPropOrBuilder

 androidx.wear.protolayout.proto.TypesProto.FloatPropOrBuilder

Subclasses:

TypesProto.FloatProp, TypesProto.FloatProp.Builder

Summary

Methods
public DynamicProto.DynamicFloatgetDynamicValue()

 The dynamic value.

public TypesProto.FloatProp.OptionalValueCasegetOptionalValueCase()

public floatgetValue()

 The static value.

public booleanhasDynamicValue()

 The dynamic value.

public booleanhasValue()

 The static value.

Methods

public boolean hasValue()

 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.
 
float value = 1;

Returns:

Whether the value field is set.

public float getValue()

 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.
 
float value = 1;

Returns:

The value.

public boolean hasDynamicValue()

 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 {@code dynamicValue} has an invalid result, the provided
 static value will be used instead.
 
.androidx.wear.protolayout.expression.proto.DynamicFloat dynamic_value = 2;

Returns:

Whether the dynamicValue field is set.

public DynamicProto.DynamicFloat getDynamicValue()

 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 {@code dynamicValue} has an invalid result, the provided
 static value will be used instead.
 
.androidx.wear.protolayout.expression.proto.DynamicFloat dynamic_value = 2;

Returns:

The dynamicValue.

public TypesProto.FloatProp.OptionalValueCase getOptionalValueCase()