public interface

DynamicProto.FloatToInt32OpOrBuilder

 androidx.wear.protolayout.expression.proto.DynamicProto.FloatToInt32OpOrBuilder

Subclasses:

DynamicProto.FloatToInt32Op, DynamicProto.FloatToInt32Op.Builder

Summary

Methods
public DynamicProto.DynamicFloatgetInput()

 The float to round.

public DynamicProto.FloatToInt32RoundModegetRoundMode()

 The rounding mode to use.

public intgetRoundModeValue()

 The rounding mode to use.

public booleanhasInput()

 The float to round.

Methods

public boolean hasInput()

 The float to round.
 
.androidx.wear.protolayout.expression.proto.DynamicFloat input = 1;

Returns:

Whether the input field is set.

public DynamicProto.DynamicFloat getInput()

 The float to round.
 
.androidx.wear.protolayout.expression.proto.DynamicFloat input = 1;

Returns:

The input.

public int getRoundModeValue()

 The rounding mode to use. Defaults to ROUND_MODE_FLOOR if not specified.
 
.androidx.wear.protolayout.expression.proto.FloatToInt32RoundMode round_mode = 2;

Returns:

The enum numeric value on the wire for roundMode.

 The rounding mode to use. Defaults to ROUND_MODE_FLOOR if not specified.
 
.androidx.wear.protolayout.expression.proto.FloatToInt32RoundMode round_mode = 2;

Returns:

The roundMode.