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:
idA unique identifier for the photo source. This is then referenced in the
Photoselement using thesourceattribute, for example, foridofmy_photothe element would be configured:<Photos source="[CONFIGURATION.my_photos]" />configTypeSpecifies whether a
SINGLEorMULTIPLEphotos can be selected in the companion app.
Recommended for you
- Note: link text is displayed when JavaScript is off
- BooleanConfiguration
- Flavor