FixedTime
class FixedTime : Notification.Metric.MetricValue
| kotlin.Any | ||
| ↳ | android.app.Notification.Metric.MetricValue | |
| ↳ | android.app.Notification.Metric.FixedTime | |
A metric value for showing a clock time.
Only hour and minutes will be displayed (according to the user's preference for 12- or 24- hour time, e.g. 14:30 or 2:30 PM); seconds and lower are truncated.
The time should be in a user-understandable timezone (most likely the device's own, unless it's clear from context that it would be different, such as a flight's arrival time on a different city).
Summary
| Public constructors | |
|---|---|
| Public methods | |
|---|---|
| Boolean | |
| LocalTime |
getValue()The |
| Int |
hashCode() |
| String |
toString() |
Public constructors
FixedTime
FixedTime(value: LocalTime)
Creates a FixedTime with the specified LocalTime.
| Parameters | |
|---|---|
value |
LocalTime: This value cannot be null. |
Public methods
hashCode
fun hashCode(): Int
toString
fun toString(): String