NotificationCompat.Metric.FixedTime


class NotificationCompat.Metric.FixedTime : NotificationCompat.Metric.MetricValue


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

Creates a FixedTime with the specified LocalTime.

Public functions

Boolean
equals(obj: Any!)
LocalTime

The LocalTime value.

Int
String

Public constructors

FixedTime

FixedTime(value: LocalTime)

Creates a FixedTime with the specified LocalTime.

Public functions

equals

fun equals(obj: Any!): Boolean

getValue

fun getValue(): LocalTime

The LocalTime value.

hashCode

fun hashCode(): Int

toString

fun toString(): String