public interface

DynamicProto.ConditionalColorOpOrBuilder

 androidx.wear.protolayout.expression.proto.DynamicProto.ConditionalColorOpOrBuilder

Subclasses:

DynamicProto.ConditionalColorOp, DynamicProto.ConditionalColorOp.Builder

Summary

Methods
public DynamicProto.DynamicBoolgetCondition()

 The condition to use.

public DynamicProto.DynamicColorgetValueIfFalse()

 The color to yield if condition is false.

public DynamicProto.DynamicColorgetValueIfTrue()

 The color to yield if condition is true.

public booleanhasCondition()

 The condition to use.

public booleanhasValueIfFalse()

 The color to yield if condition is false.

public booleanhasValueIfTrue()

 The color to yield if condition is true.

Methods

public boolean hasCondition()

 The condition to use.
 
.androidx.wear.protolayout.expression.proto.DynamicBool condition = 1;

Returns:

Whether the condition field is set.

public DynamicProto.DynamicBool getCondition()

 The condition to use.
 
.androidx.wear.protolayout.expression.proto.DynamicBool condition = 1;

Returns:

The condition.

public boolean hasValueIfTrue()

 The color to yield if condition is true.
 
.androidx.wear.protolayout.expression.proto.DynamicColor value_if_true = 2;

Returns:

Whether the valueIfTrue field is set.

public DynamicProto.DynamicColor getValueIfTrue()

 The color to yield if condition is true.
 
.androidx.wear.protolayout.expression.proto.DynamicColor value_if_true = 2;

Returns:

The valueIfTrue.

public boolean hasValueIfFalse()

 The color to yield if condition is false.
 
.androidx.wear.protolayout.expression.proto.DynamicColor value_if_false = 3;

Returns:

Whether the valueIfFalse field is set.

public DynamicProto.DynamicColor getValueIfFalse()

 The color to yield if condition is false.
 
.androidx.wear.protolayout.expression.proto.DynamicColor value_if_false = 3;

Returns:

The valueIfFalse.