TextStatusPart

public class TextStatusPart
extends StatusPart

java.lang.Object
   ↳ androidx.wear.ongoing.StatusPart
     ↳ androidx.wear.ongoing.TextStatusPart


An Ongoing activity status (or part of it) representing a plain, static text. Available since wear-ongoing:1.0.0

Summary

Public constructors

TextStatusPart(String str)

Public methods

boolean equals(Object o)
long getNextChangeTimeMillis(long fromTimeMillis)

See TimeDependentText.getNextChangeTimeMillis(long)

CharSequence getText(Context context, long timeNowMillis)

See TimeDependentText.getText(Context, long)

int hashCode()

Inherited methods

Public constructors

TextStatusPart

public TextStatusPart (String str)

Parameters
str String

Public methods

equals

public boolean equals (Object o)

Parameters
o Object

Returns
boolean

getNextChangeTimeMillis

public long getNextChangeTimeMillis (long fromTimeMillis)

See TimeDependentText.getNextChangeTimeMillis(long)

Parameters
fromTimeMillis long

Returns
long

getText

public CharSequence getText (Context context, 
                long timeNowMillis)

See TimeDependentText.getText(Context, long)

Parameters
context Context

timeNowMillis long

Returns
CharSequence

hashCode

public int hashCode ()

Returns
int