Wallet.WalletOptions | 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: Nested Classes | Fields | Inherited Methods | [Expand All]
public static final class

# Wallet.WalletOptions

extends Object
implements Api.ApiOptions.HasOptions

java.lang.Object
↳ | com.google.android.gms.wallet.Wallet.WalletOptions

## Class Overview

Options for using the Wallet API. To create an instance, use the `Wallet.WalletOptions.Builder`.

## Summary

Nested Classes
class | Wallet.WalletOptions.Builder |

Fields
public final int | environment | The Google Wallet environment to use.
public final int | theme | The theme to use for Wallet running on Android OS with `SDK_INT` >= `HONEYCOMB`.

[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 environment

The Google Wallet environment to use. Specify `ENVIRONMENT_SANDBOX` until you have applied for and been granted access to the Production environment. Defaults to `ENVIRONMENT_SANDBOX`.

#### public final int theme

The theme to use for Wallet running on Android OS with `SDK_INT` >= `HONEYCOMB`. The only legitimate values are `THEME_HOLO_DARK` and `THEME_HOLO_LIGHT` as those are the only supported themes. User-created themes are not supported. Value ignored for Android OS with `SDK_INT` < `HONEYCOMB`. Defaults to `THEME_HOLO_DARK`.