public final class

DimensionBuilders.DegreesProp

extends java.lang.Object

 java.lang.Object

↳androidx.wear.protolayout.DimensionBuilders.DegreesProp

Overview

A type for angular dimensions, measured in degrees.

Summary

Methods
public static DimensionBuilders.DegreesPropfromProto(DimensionProto.DegreesProp proto, Fingerprint fingerprint)

Creates a new wrapper instance from the proto.

public DynamicBuilders.DynamicFloatgetDynamicValue()

Gets the dynamic value, in degrees.

public FingerprintgetFingerprint()

Get the fingerprint for this object, or null if unknown.

public floatgetValue()

Gets the static value, in degrees.

public DimensionProto.DegreesProptoProto()

Returns the internal proto instance.

public java.lang.StringtoString()

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

Methods

public float getValue()

Gets the static value, in degrees. 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, zero will be used instead.

public DynamicBuilders.DynamicFloat getDynamicValue()

Gets the dynamic value, in degrees. 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 dynamicValue has an invalid result, the provided static value will be used instead.

public Fingerprint getFingerprint()

Get the fingerprint for this object, or null if unknown.

public static DimensionBuilders.DegreesProp fromProto(DimensionProto.DegreesProp proto, Fingerprint fingerprint)

Creates a new wrapper instance from the proto.

Returns the internal proto instance.

public java.lang.String toString()