PhotosConfiguration
Stay organized with collections
Save and categorize content based on your preferences.
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.
Recommended for you
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-05-20 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-05-20 UTC."],[],[],null,["# PhotosConfiguration\n\nA `PhotosConfiguration` creates a named data source that can be used by the\nuser in the companion app to set a photo or photos to show in the watch face.\n\nIntroduced in Wear OS 6\n\nSyntax\n------\n\n```xml\n\u003cPhotosConfiguration id=\"string\" configType=\"SINGLE | MULTIPLE\"/\u003e\n```\n\nAttributes\n----------\n\nThe `PhotosConfiguration` element has the following attributes:\n\n### Required attributes\n\nThe following attributes are required:\n\n`id`\n\n: A unique identifier for the photo source. This is then referenced in the\n [`Photos`](/reference/wear-os/wff/group/part/image/photos) element using the `source` attribute, for example, for `id` of\n `my_photo` the element would be configured:\n\n \u003cPhotos source=\"[CONFIGURATION.my_photos]\" /\u003e\n\n`configType`\n\n: Specifies whether a `SINGLE` or `MULTIPLE` photos can be selected in the\n companion app.\n\nRecommended for you\n-------------------\n\n- Note: link text is displayed when JavaScript is off\n- [BooleanConfiguration](/reference/wear-os/wff/v2/user-configuration/boolean-configuration)\n- [Flavor](/reference/wear-os/wff/user-configuration/flavor)"]]