Package com.google.maps
Class PlaceAutocompleteRequest.SessionToken
- java.lang.Object
-
- com.google.maps.PlaceAutocompleteRequest.SessionToken
-
- All Implemented Interfaces:
com.google.maps.internal.StringJoin.UrlValue,java.io.Serializable
- Enclosing class:
- PlaceAutocompleteRequest
public static final class PlaceAutocompleteRequest.SessionToken extends java.lang.Object implements com.google.maps.internal.StringJoin.UrlValue, java.io.SerializableSessionToken represents an Autocomplete session.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SessionToken()This constructor creates a new session.SessionToken(java.util.UUID uuid)Construct a session that is a continuation of a previous session.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.UUIDgetUUID()Retrieve the universally unique identifier for this session.java.lang.StringtoUrlValue()
-
-
-
Method Detail
-
getUUID
public java.util.UUID getUUID()
Retrieve the universally unique identifier for this session. This enables you to recreate the session token in a later context.- Returns:
- Returns the universally unique identifier for this session.
-
toUrlValue
public java.lang.String toUrlValue()
- Specified by:
toUrlValuein interfacecom.google.maps.internal.StringJoin.UrlValue
-
-