public final class

DimensionProto.SpProp.Builder

extends <any>

implements DimensionProto.SpPropOrBuilder

 java.lang.Object

↳<any>

↳androidx.wear.protolayout.proto.DimensionProto.SpProp.Builder

Overview

 A type for font sizes, measured in sp.
 
Protobuf type androidx.wear.protolayout.proto.SpProp

Summary

Methods
public DimensionProto.SpProp.BuilderclearValue()

 The value, in sp.

public floatgetValue()

 The value, in sp.

public DimensionProto.SpProp.BuildersetValue(float value)

 The value, in sp.

from java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Methods

public float getValue()

 The value, in sp.
 
float value = 2;

Returns:

The value.

public DimensionProto.SpProp.Builder setValue(float value)

 The value, in sp.
 
float value = 2;

Parameters:

value: The value to set.

Returns:

This builder for chaining.

public DimensionProto.SpProp.Builder clearValue()

 The value, in sp.
 
float value = 2;

Returns:

This builder for chaining.