Status.TextPart


class Status.TextPart : 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 functions

Boolean
equals(obj: Any?)
Long
getNextChangeTimeMillis(fromTimeMillis: Long)

See getNextChangeTimeMillis

CharSequence
getText(context: Context, timeNowMillis: Long)

See getText

Int

Public constructors

TextPart

Added in 1.0.0
TextPart(str: String)

Create a Part representing a static text.

Public functions

equals

fun equals(obj: Any?): Boolean

getNextChangeTimeMillis

Added in 1.1.0-alpha01
fun getNextChangeTimeMillis(fromTimeMillis: Long): Long

See getNextChangeTimeMillis

getText

Added in 1.1.0-alpha01
fun getText(context: Context, timeNowMillis: Long): CharSequence

See getText

hashCode

fun hashCode(): Int