public interface

DynamicProto.ConditionalDurationOpOrBuilder

 androidx.wear.protolayout.expression.proto.DynamicProto.ConditionalDurationOpOrBuilder

Subclasses:

DynamicProto.ConditionalDurationOp, DynamicProto.ConditionalDurationOp.Builder

Summary

Methods
public DynamicProto.DynamicBoolgetCondition()

 The condition to use.

public DynamicProto.DynamicDurationgetValueIfFalse()

 The duration to yield if condition is false.

public DynamicProto.DynamicDurationgetValueIfTrue()

 The duration to yield if condition is true.

public booleanhasCondition()

 The condition to use.

public booleanhasValueIfFalse()

 The duration to yield if condition is false.

public booleanhasValueIfTrue()

 The duration 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 duration to yield if condition is true.
 
.androidx.wear.protolayout.expression.proto.DynamicDuration value_if_true = 2;

Returns:

Whether the valueIfTrue field is set.

public DynamicProto.DynamicDuration getValueIfTrue()

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

Returns:

The valueIfTrue.

public boolean hasValueIfFalse()

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

Returns:

Whether the valueIfFalse field is set.

public DynamicProto.DynamicDuration getValueIfFalse()

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

Returns:

The valueIfFalse.