ProtoLayoutDynamicFloat
public
final
class
ProtoLayoutDynamicFloat
extends Object
implements
Parcelable
| java.lang.Object | |
| ↳ | com.google.wear.expression.ProtoLayoutDynamicFloat |
Describes a Proto Layout DynamicFloat that is evaluated remotely.
This type acts as a wrapper of the byte representation of a DynamicFloat.
This type is meant to be used only to transfer DynamicFloat as a parcelable. The system should use the getBytes() method to convert it back to the publicly visible DynamicFloat.
Summary
Inherited constants |
|---|
Fields | |
|---|---|
public
static
final
Creator<ProtoLayoutDynamicFloat> |
CREATOR
|
Public methods | |
|---|---|
int
|
describeContents()
|
boolean
|
equals(Object other)
|
static
ProtoLayoutDynamicFloat
|
fromBytes(byte[] bytes)
Creates an object using the byte array representation of a |
int
|
hashCode()
|
void
|
writeToParcel(Parcel dest, int flags)
|
Inherited methods | |
|---|---|
Fields
Public methods
equals
public boolean equals (Object other)
| Parameters | |
|---|---|
other |
Object |
| Returns | |
|---|---|
boolean |
|
fromBytes
public static ProtoLayoutDynamicFloat fromBytes (byte[] bytes)
Creates an object using the byte array representation of a DynamicBuilders.DynamicFloat object.
| Parameters | |
|---|---|
bytes |
byte |
| Returns | |
|---|---|
ProtoLayoutDynamicFloat |
|
writeToParcel
public void writeToParcel (Parcel dest,
int flags)| Parameters | |
|---|---|
dest |
Parcel |
flags |
int |