java.lang.Object | |
↳ | com.google.android.gms.identity.intents.UserAddressRequest.Builder |
Builder for creating a UserAddressRequest
. This class lets your create an instance
of UserAddressRequest that specifies a set of countries for restricting the choice of
addresses by the user, i.e. the user can only select an address if it's in one of the
specified countries. If no countries are specified, then there are no restrictions and the
user can select any of their addresses to share with your app.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Specifies a country whose addresses can be handled by your app.
| |||||||||||
Specifies multiple countries whose addresses can be handled by your app.
| |||||||||||
Builds an instance of UserAddressRequest and returns it.
|
[Expand]
Inherited Methods | |||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Specifies a country whose addresses can be handled by your app. Note that calling this
after you have called build()
will cause a runtime exception to be thrown.
Specifies multiple countries whose addresses can be handled by your app. Note that
calling this after you have called build()
will cause a runtime
exception to be thrown.