PhotosConfiguration

A PhotosConfiguration creates a named data source that can be used by the user in the companion app to set a photo or photos to show in the watch face.

Introduced in Wear OS 6

Syntax

<PhotosConfiguration id="string" configType="SINGLE | MULTIPLE"/>

Attributes

The PhotosConfiguration element has the following attributes:

Required attributes

The following attributes are required:

id

A unique identifier for the photo source. This is then referenced in the Photos element using the source attribute, for example, for id of my_photo the element would be configured:

<Photos source="[CONFIGURATION.my_photos]" />
configType

Specifies whether a SINGLE or MULTIPLE photos can be selected in the companion app.