Glassware Guidelines

These guidelines will help you avoid common pitfalls and guide you through the process of building a high-quality Glassware.

Note: If a guideline item has GDK or Mirror API in the title, then you do not have to check that item if you’re not using that particular API.

Invocation

I1. Use voice commands correctly

I2. Don’t use a pinned Mirror API timeline item as a launcher

The two main ways for users to invoke Glassware and its features are by using a voice or touch command from the ok glass main menu or through a contextual menu from a timeline card.

You should never force users to pin a timeline card with menu items for the purpose launching Glassware. The Mirror API is designed for periodic notifications based on user-configured settings or to share content with contacts [TODO: ADD LINK].

Providing menu items to launch GDK Glassware or call the Mirror API is okay as long as the experience is consistent with the periodic notifications design pattern and does not use the Mirror API for immediate interactivity [TODO: ADD LINK].

For example, a pet adoption Glassware shouldn’t insert a timeline card and force users to pin it to access features later on (for example, to “Search for dogs”, “Search for cats”, “Search for birds”, and so on). Instead, the Glassware should allow users to set criteria for the pets they want and periodically deliver cards that meet this criteria. These cards can then contain menu items to carry out actions such as “Read bio” and “Adopt pet”.

I3. Invoking GDK Glassware from Glass home starts a live card or immersion

It must be clear to users that Glassware is running if they explicitly invoke it.

Design

D3. Don’t use the GDK to port mobile features that work poorly on Glass

Glass is designed for small pieces of information that’s delivered at the right time. Porting every feature from a mobile app will not work well on Glass. Instead find the main use cases that work well on Glass and focus on delivering a few magical features. See Design for Glass for inspiration.

D4. Use the GDK to innovate new features, but be consistent with the Glass system when appropriate

D6. Follow standard card design and templates

When possible, use approved card designsMirror API [TODO: ADD LINK] and GDK templates are available for some of these designs.

D7. Bundle and paginate cards properly

Bundles and pagination allow you to group together cards, but you should use them correctly in the following situations.

Note: Bundling and paginating features are built into the Mirror API. If you are trying to achieve the same functionality in the GDK, mimic how the Mirror API presents bundling and pagination as close as possible. Use stack indicatorsmenu items, and card scrollers to present your cards.

Bundles

Cases where bundles work well:

Cases where bundles don’t work well:

Pagination

Use pagination for timeline items that do not fit on a single card because of space constraints, but otherwise should be on the same card.

Cases where pagination work well: - A single email, news story, or similar content that doesn’t fit on one card

Cases where pagination doesn’t work well: - A group of distinct cards, such as multiple news stories or emails

D8. Follow best practices

Ensure your Glassware adheres to the rest of our Glassware best practices.

Web properties

WP1. Highlight Glass-specific features on your website

WP2. Provide easy authorization flows

WP3. Provide clear and useful settings

Branding

B1. Use proprietary Glass assets correctly

The Glass brand and its associated assets are proprietary and are carefully designed and used by Google.

Writing

W1. Glassware and its description are in English

Glassware and its related descriptions must be in English by default. Multiple languages are okay if there is complete feature parity between languages.

W2. Name your Glassware appropriately

Ensure your Glassware name accurately portrays the Glassware’s functionality or branding. Do not use the string “Glass” in the name, unless it is in the phrase “for Glass.” For example, “Cat Facts for Glass” is okay, but not “Glass Cat Facts” or “Glassy Cat Photos.”

W3. Use Glass terms correctly

See the Glass in text section for restrictions and guidelines.

W5. Use Glass voice

Follow guidelines for writing when applicable.

Testing

T1. Test on actual hardware

Run your Glassware on actual Glass hardware. This is the only way to accurately gauge the user experience. Also ensure that GDK Glassware does not cause unexpected performance, such as overheating Glass.


Portions of this page are reproduced from work created and shared by Google and used according to terms described in the Creative Commons 4.0 Attribution License.