TextStatusPart
public
class
TextStatusPart
extends StatusPart
An Ongoing activity status (or part of it) representing a plain, static text.
Available since wear-ongoing:1.0.0
Summary
Inherited methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
final
void
|
wait()
|
|
From interface
androidx.wear.ongoing.TimeDependentText
abstract
long
|
getNextChangeTimeMillis(long fromTimeMillis)
Returns the timestamp of the next time when the display may be different from the one
at the specified time.
|
abstract
CharSequence
|
getText(Context context, long timeNowMillis)
Returns a textual representation of the ongoing activity status or a part of it
at the given time represented as milliseconds timestamp
For forward compatibility, the best way to display this is on a
TextView
|
|
Public constructors
TextStatusPart
public TextStatusPart (String str)
Public methods
equals
public boolean equals (Object o)
hashCode
public int hashCode ()