Added in API level 36
DynamicComplicationText
public
class
DynamicComplicationText
extends Object
implements
ComplicationText
| java.lang.Object | |
| ↳ | com.google.wear.services.complications.DynamicComplicationText |
A ComplicationText where the system evaluates a ProtoLayoutDynamicString.
By the time this reaches the watchface's renderer, this will have been converted to a plain ComplicationText.
Summary
Public constructors | |
|---|---|
DynamicComplicationText(ProtoLayoutDynamicString dynamicString)
Constructor for DynamicComplicationText. |
|
Public methods | |
|---|---|
boolean
|
equals(Object o)
|
ProtoLayoutDynamicString
|
getDynamicString()
|
int
|
hashCode()
|
String
|
toString()
|
Inherited methods | |
|---|---|
Public constructors
DynamicComplicationText
Added in API level 36
public DynamicComplicationText (ProtoLayoutDynamicString dynamicString)
Constructor for DynamicComplicationText.
| Parameters | |
|---|---|
dynamicString |
ProtoLayoutDynamicString: The ProtoLayoutDynamicString which will be evaluated into a
string dynamically. |
Public methods
getDynamicString
Added in API level 36
public ProtoLayoutDynamicString getDynamicString ()
| Returns | |
|---|---|
ProtoLayoutDynamicString |
|