public final class

TypeBuilders.BoolProp

extends java.lang.Object

 java.lang.Object

↳androidx.wear.protolayout.TypeBuilders.BoolProp

Overview

A boolean type.

Summary

Methods
public static TypeBuilders.BoolPropfromProto(TypesProto.BoolProp proto, Fingerprint fingerprint)

Creates a new wrapper instance from the proto.

public DynamicBuilders.DynamicBoolgetDynamicValue()

Gets the dynamic value.

public FingerprintgetFingerprint()

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

public booleangetValue()

Gets the static value.

public TypesProto.BoolProptoProto()

Returns the internal proto instance.

public java.lang.StringtoString()

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

Methods

public boolean getValue()

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

public DynamicBuilders.DynamicBool getDynamicValue()

Gets the dynamic value. 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 TypeBuilders.BoolProp fromProto(TypesProto.BoolProp proto, Fingerprint fingerprint)

Creates a new wrapper instance from the proto.

public TypesProto.BoolProp toProto()

Returns the internal proto instance.

public java.lang.String toString()