Status.TextPart


public final class Status.TextPart extends Status.Part


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

boolean
long
getNextChangeTimeMillis(long fromTimeMillis)

See getNextChangeTimeMillis

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

See getText

int

Public constructors

TextPart

Added in 1.0.0
public TextPart(@NonNull String str)

Create a Part representing a static text.

Public methods

equals

public boolean equals(@Nullable Object obj)

getNextChangeTimeMillis

Added in 1.1.0-alpha01
public long getNextChangeTimeMillis(long fromTimeMillis)

See getNextChangeTimeMillis

getText

Added in 1.1.0-alpha01
public @NonNull CharSequence getText(@NonNull Context context, long timeNowMillis)

See getText

hashCode

public int hashCode()