WearWidgetVisibleEvent

class WearWidgetVisibleEvent : WearWidgetEvent


An event where the widget became visible on screen.

Summary

Public functions

open operator Boolean
equals(other: Any?)
open Int

Public properties

Duration

The duration for which the widget instance was visible.

WidgetInstanceId

The instance id of the widget that was visible.

Instant

The instant when the widget instance became visible.

Public functions

equals

open operator fun equals(other: Any?): Boolean

hashCode

open fun hashCode(): Int

Public properties

duration

Added in 1.0.0-alpha03
val durationDuration

The duration for which the widget instance was visible. After this duration, the widget was no longer visible.

instanceId

Added in 1.0.0-alpha03
val instanceIdWidgetInstanceId

The instance id of the widget that was visible.

startTime

Added in 1.0.0-alpha03
val startTimeInstant

The instant when the widget instance became visible.