Status.TextPart

public final class Status.TextPart extends Status.Part implements TimeDependentText

Object
   ↳ Status.Part
     ↳ Status.TextPart

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

Available since wear-ongoing:1.0.0

Summary

Public constructors

Create a Part representing a static text.

Public methods

@Override boolean
@Override long
getNextChangeTimeMillis(long fromTimeMillis)

See getNextChangeTimeMillis

@NonNull @Override CharSequence
getText(@NonNull Context context, long timeNowMillis)

See getText

@Override int

Public constructors

TextPart

public TextPart(@NonNull String str)

Create a Part representing a static text.

Public methods

equals

@Override
public boolean equals(@Nullable Object obj)

getNextChangeTimeMillis

@Override
public long getNextChangeTimeMillis(long fromTimeMillis)

See getNextChangeTimeMillis

getText

@Override
public @NonNull CharSequence getText(@NonNull Context context, long timeNowMillis)

See getText

hashCode

@Override
public int hashCode()