java.lang.Object |
↳ |
com.google.android.gms.identity.intents.Address |
Summary
[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 Constructors
Public Methods
public
static
void
requestUserAddress
(GoogleApiClient googleApiClient, UserAddressRequest request, int requestCode)
API to request an address from a user. This will invoke a dialog that allows the user to
decide if they want to select a single address to share your app, or alternatively decline
to share an address at all. The response to this request is supplied via your Activity's
onActivityResult(int, int, Intent)
callback method.
Parameters
googleApiClient
| used to communicate with Google Play Services. This should be
configured to use API . Must not be null. |
request
| used to specify what kind of addresses your app can handle. You
must pass in a valid UserAddressRequest created via
build() . |
requestCode
| used onActivityResult(int, int, Intent) to identify which request
triggered that callback.
|