Quicknav
Quicknav
Design
Develop
Distribute
Links
Google Play Developer Console
Android Developers Blog
About Android
Android Sites
Android.com
Android Developers
Android Open Source Project
Language
English
Español
日本語
한국어
Русский
中文(简体)
中文(繁體)
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
Training
API Guides
Reference
Tools
Google Services
Samples
Results
Loading...
UserAddress
Overview
Games
Location
Google+
Maps
Drive
Cast
Ads
Advertising ID
Wallet
Google Play Services
Setting Up Google Play Services
Accessing Google APIs
Authorizing with Google for REST APIs
Reference
Google Play In-app Billing
Overview
Version 3 API
Implementing the API
Reference
Version 2 API
Implementing the API
Subscriptions
Reference
Subscriptions
Security and Design
Testing In-app Billing
Administering In-app Billing
Version Notes
Google Cloud Messaging
Overview
Getting Started
Implementing GCM Client
Implementing GCM Server
CCS (XMPP)
HTTP
User Notifications
Advanced Topics
Migration
Reference
Google Cloud Save
Google Play Distribution
Filters on Google Play
Google Play Developer API
Multiple APK Support
APK Expansion Files
Application Licensing
Licensing Overview
Setting Up for Licensing
Adding Licensing to Your App
Licensing Reference
Android Backup Service
Register
Summary:
Inherited Constants
|
Fields
|
Methods
|
Inherited Methods
|
[Expand All]
public final class
UserAddress
extends Object
implements Parcelable
java.lang.Object
↳
com.google.android.gms.identity.intents.model.UserAddress
Class Overview
Parcelable representing an address.
Summary
[Expand]
Inherited Constants
From interface android.os.Parcelable
int
CONTENTS_FILE_DESCRIPTOR
int
PARCELABLE_WRITE_RETURN_VALUE
Fields
public static final Creator<
UserAddress
>
CREATOR
Public Methods
int
describeContents
()
static
UserAddress
fromIntent
(Intent data)
String
getAddress1
()
String
getAddress2
()
String
getAddress3
()
String
getAddress4
()
String
getAddress5
()
String
getAdministrativeArea
()
String
getCompanyName
()
String
getCountryCode
()
String
getEmailAddress
()
String
getLocality
()
String
getName
()
String
getPhoneNumber
()
String
getPostalCode
()
String
getSortingCode
()
int
getVersionCode
()
boolean
isPostBox
()
void
writeToParcel
(Parcel out, int flags)
[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)
From interface android.os.Parcelable
abstract int
describeContents
()
abstract void
writeToParcel
(Parcel arg0, int arg1)
Fields
public static final Creator<
UserAddress
>
CREATOR
Public Methods
public int
describeContents
()
public static
UserAddress
fromIntent
(Intent data)
public String
getAddress1
()
Returns
The first line of the address. If omitted, defaults to "".
public String
getAddress2
()
Returns
The second line of the address. If omitted, defaults to "".
public String
getAddress3
()
Returns
The third line of the address. If omitted, defaults to "".
public String
getAddress4
()
Returns
The fourth line of the address. If omitted, defaults to "".
public String
getAddress5
()
Returns
The fifth line of the address. If omitted, defaults to "".
public String
getAdministrativeArea
()
Returns
The state, province, etc. If omitted, defaults to "".
public String
getCompanyName
()
Returns
The company name of the address. If omitted, defaults to "".
public String
getCountryCode
()
Returns
The 2-letter ISO-3166 country code. If omitted, defaults to "".
public String
getEmailAddress
()
Returns
The email address used with this address. If omitted, defaults to "".
public String
getLocality
()
Returns
The city, town, etc. If omitted, defaults to "".
public String
getName
()
Returns
Name of the person at this address. If omitted, defaults to "".
public String
getPhoneNumber
()
Returns
The phone number associated to the address. If omitted, defaults to "".
public String
getPostalCode
()
Returns
The postal, zip code, etc. If omitted, defaults to "".
public String
getSortingCode
()
Returns
The sorting code. If omitted, defaults to "".
public int
getVersionCode
()
public boolean
isPostBox
()
Returns
Whether the address is a post box or not.
public void
writeToParcel
(Parcel out, int flags)