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 thesource
attribute, for example, forid
ofmy_photo
the element would be configured:<Photos source="[CONFIGURATION.my_photos]" />
configType
Specifies whether a
SINGLE
orMULTIPLE
photos can be selected in the companion app.
Recommended for you
- Note: link text is displayed when JavaScript is off
- BooleanConfiguration
- Flavor