ActiveWearWidgetHandle

class ActiveWearWidgetHandle


Identifies a unique instance of a widget or tile that is active in the host.

A widget or a tile instance is active when it was added by the user to a widget or tile surface.

Summary

Public functions

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

Public properties

Int

The container type of the widget instance.

WidgetInstanceId

The id of the widget instance.

ComponentName

The name of the provider associated with the widget instance.

Public functions

equals

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

hashCode

open fun hashCode(): Int

toString

open fun toString(): String

Public properties

containerType

Added in 1.0.0-alpha04
val containerTypeInt

The container type of the widget instance.

instanceId

Added in 1.0.0-alpha04
val instanceIdWidgetInstanceId

The id of the widget instance.

provider

Added in 1.0.0-alpha04
val providerComponentName

The name of the provider associated with the widget instance.