Google is committed to advancing racial equity for Black communities. See how.

Address.AddressOptions

public static final class Address.AddressOptions extends Object
implements Api.ApiOptions.HasOptions

A class that encapsulates options for the Address APIs. Currently this is just the theme of any UI elements the user interacts with.

Field Summary

public final int theme Theme to use for system UI elements that the user will interact with.

Public Constructor Summary

Address.AddressOptions()
Uses the default theme THEME_DARK.
Address.AddressOptions(int theme)
Constructor that accepts a theme to use.

Inherited Method Summary

Fields

public final int theme

Theme to use for system UI elements that the user will interact with. See AddressConstants.Themes for allowed values.

Public Constructors

public Address.AddressOptions ()

Uses the default theme THEME_DARK.

public Address.AddressOptions (int theme)

Constructor that accepts a theme to use. See AddressConstants.Themes for allowed values.