We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1ff58c6 commit 7b0690aCopy full SHA for 7b0690a
1 file changed
src/main/java/com/google/maps/PlaceAutocompleteRequest.java
@@ -67,6 +67,15 @@ public SessionToken(UUID uuid) {
67
this.uuid = uuid;
68
}
69
70
+ /**
71
+ * Construct a session that is a continuation of a previous session.
72
+ *
73
+ * @param token The unique String to be used as the seed for the session identifier.
74
+ */
75
+ public SessionToken(String token) {
76
+ this.uuid = UUID.nameUUIDFromBytes(token.getBytes());
77
+ }
78
+
79
/**
80
* Retrieve the universally unique identifier for this session. This enables you to recreate the
81
* session token in a later context.
0 commit comments