public final class

LayoutElementBuilders.ContentScaleModeProp

extends java.lang.Object

 java.lang.Object

↳androidx.wear.protolayout.LayoutElementBuilders.ContentScaleModeProp

Overview

An extensible ContentScaleMode property.

Summary

Methods
public static LayoutElementBuilders.ContentScaleModePropfromProto(LayoutElementProto.ContentScaleModeProp proto, Fingerprint fingerprint)

Creates a new wrapper instance from the proto.

public FingerprintgetFingerprint()

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

public intgetValue()

Gets the value.

public LayoutElementProto.ContentScaleModeProptoProto()

Returns the internal proto instance.

public java.lang.StringtoString()

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

Methods

public int getValue()

Gets the value.

public Fingerprint getFingerprint()

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

Creates a new wrapper instance from the proto.

Returns the internal proto instance.

public java.lang.String toString()