public interface

TypesProto.BoolPropOrBuilder

 androidx.wear.protolayout.proto.TypesProto.BoolPropOrBuilder

Subclasses:

TypesProto.BoolProp, TypesProto.BoolProp.Builder

Summary

Methods
public DynamicProto.DynamicBoolgetDynamicValue()

 The dynamic value.

public TypesProto.BoolProp.OptionalValueCasegetOptionalValueCase()

public booleangetValue()

 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, false will be used
 instead.
 
bool value = 1;

Returns:

Whether the value field is set.

public boolean 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, false will be used
 instead.
 
bool 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.DynamicBool dynamic_value = 2;

Returns:

Whether the dynamicValue field is set.

public DynamicProto.DynamicBool 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.DynamicBool dynamic_value = 2;

Returns:

The dynamicValue.

public TypesProto.BoolProp.OptionalValueCase getOptionalValueCase()