Address.AddressOptions | Android Developers

Quicknav Quicknav
Links

- Google Play Developer Console
- Android Developers Blog
- About Android

Android Sites

- Android.com
- Android Developers
- Android Open Source Project

Language
close

- - About
  - Wear
  - TV
  - Auto
- - Get Started
  - Devices
  - Style
  - Patterns
  - Building Blocks
  - Downloads
  - Videos
- - Training
  - API Guides
  - Reference
  - Tools
  - Google Services
  - Samples
- - Google Play
  - Essentials
  - Get Users
  - Engage & Retain
  - Monetize
  - Tools & Reference
  - Developer Stories

## Results

Loading...
Summary: Fields | Ctors | Inherited Methods | [Expand All]
public static final class

# Address.AddressOptions

extends Object
implements Api.ApiOptions.HasOptions

java.lang.Object
↳ | com.google.android.gms.identity.intents.Address.AddressOptions

## Class Overview

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

## Summary

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

Public Constructors
| Address.AddressOptions() Uses the default theme `THEME_HOLO_DARK`.
| Address.AddressOptions(int theme) Constructor that accepts a theme to use.

[Expand] Inherited Methods
From class java.lang.Object
Object | clone()
boolean | equals(Object arg0)
void | finalize()
final Class<?> | getClass()
int | hashCode()
final void | notify()
final void | notifyAll()
String | toString()
final void | wait()
final void | wait(long arg0, int arg1)
final void | wait(long arg0)

## 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_HOLO_DARK`.

#### public Address.AddressOptions (int theme)

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