public final class

Status.TextPart

extends Status.Part

 java.lang.Object

androidx.wear.ongoing.Status.Part

↳androidx.wear.ongoing.Status.TextPart

Overview

An Ongoing activity status (or part of it) representing a plain, static text.

Available since wear-ongoing:1.0.0

Summary

Constructors
publicTextPart(java.lang.String str)

Create a Part representing a static text.

Methods
public booleanequals(java.lang.Object obj)

public longgetNextChangeTimeMillis(long fromTimeMillis)

See TimeDependentText.getNextChangeTimeMillis(long)

public java.lang.CharSequencegetText(Context context, long timeNowMillis)

See TimeDependentText.getText(Context, long)

public inthashCode()

from java.lang.Objectclone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait

Constructors

public TextPart(java.lang.String str)

Create a Part representing a static text.

Methods

public java.lang.CharSequence getText(Context context, long timeNowMillis)

See TimeDependentText.getText(Context, long)

public long getNextChangeTimeMillis(long fromTimeMillis)

See TimeDependentText.getNextChangeTimeMillis(long)

public int hashCode()

public boolean equals(java.lang.Object obj)