ProtoLayoutDynamicString

public final class ProtoLayoutDynamicString
extends Object implements Parcelable

java.lang.Object
   ↳ com.google.wear.expression.ProtoLayoutDynamicString


Describes a Proto Layout DynamicString that is evaluated remotely.

This type acts as a wrapper of the byte representation of a DynamicString.

This type is meant to be used only to transfer DynamicString as a parcelable. The system should use the getBytes() method to convert it back to the publicly visible DynamicString.

Summary

Inherited constants

Fields

public static final Creator<ProtoLayoutDynamicString> CREATOR

Public methods

int describeContents()

boolean equals(Object other)

static ProtoLayoutDynamicString fromBytes(byte[] bytes)

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

int hashCode()

void writeToParcel(Parcel dest, int flags)

Inherited methods

Fields

CREATOR

Added in API level 36
public static final Creator<ProtoLayoutDynamicString> 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 ProtoLayoutDynamicString fromBytes (byte[] bytes)

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

Parameters
bytes byte

Returns
ProtoLayoutDynamicString

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