GlanceWearProfiles

object GlanceWearProfiles


Defines profiles for Glance Wear.

Summary

Public functions

Profile

Creates a Profile for Wear Widgets using the host-supported operations from params.

Public properties

Profile

A profile for Wear Widgets, based on the allowed operations for widgets.

Public functions

createWearWidgetsProfile

Added in 1.0.0-alpha22
fun createWearWidgetsProfile(params: WearWidgetParams): Profile

Creates a Profile for Wear Widgets using the host-supported operations from params.

Parameters
params: WearWidgetParams

the WearWidgetParams for the widget request

Returns
Profile

a Profile configured for the host's supported operations

Public properties

wearWidgets

Added in 1.0.0-alpha22
val wearWidgets: Profile

A profile for Wear Widgets, based on the allowed operations for widgets.