ActiveWearWidgetHandle

class ActiveWearWidgetHandle


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

A widget instance is active when it was added by the user to a widget 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-alpha01
val containerTypeInt

The container type of the widget instance.

instanceId

Added in 1.0.0-alpha01
val instanceIdWidgetInstanceId

The id of the widget instance.

provider

Added in 1.0.0-alpha01
val providerComponentName

The name of the provider associated with the widget instance.