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 @NonNull boolean
@Override @NonNull long
getNextChangeTimeMillis(@NonNull long fromTimeMillis)

See getNextChangeTimeMillis

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

See getText

@Override @NonNull int

Public constructors

TextPart

public TextPart(@NonNull String str)

Create a Part representing a static text.

Public methods

equals

@Override
@NonNull
public @Override boolean equals(@Nullable Object obj)

getNextChangeTimeMillis

@Override
@NonNull
public @Override long getNextChangeTimeMillis(@NonNull long fromTimeMillis)

See getNextChangeTimeMillis

getText

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

See getText

hashCode

@Override
@NonNull
public @Override int hashCode()