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 DynamicBuilders.DynamicFloat object.

int hashCode()

void writeToParcel(Parcel dest, int flags)

Inherited methods

Fields

CREATOR

Added in API level 36
public static final Creator<ProtoLayoutDynamicFloat> CREATOR

Public methods

describeContents

Added in API level 36
public int describeContents ()

Returns
int

equals

Added in API level 36
public boolean equals (Object other)

Parameters
other Object

Returns
boolean

fromBytes

Added in API level 36
public static ProtoLayoutDynamicFloat fromBytes (byte[] bytes)

Creates an object using the byte array representation of a DynamicBuilders.DynamicFloat object.

Parameters
bytes byte

Returns
ProtoLayoutDynamicFloat

hashCode

Added in API level 36
public int hashCode ()

Returns
int

writeToParcel

Added in API level 36
public void writeToParcel (Parcel dest, 
                int flags)

Parameters
dest Parcel

flags int