You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`TECHNICIAN`, `MOTORIST` | For roadside assitance industry or similar
88
+
`DRIVER`, `RECIPIENT` | For delivery services or similar
89
+
`INVESTIGATOR`, `CLIENT` | For legal services industry or similar
90
+
83
91
### Create Session
84
92
85
93
To create a session, use the session builder:
@@ -150,19 +158,39 @@ session = new Session.Builder()
150
158
To join the session you created, call the `joinUser()` method on the session object:
151
159
152
160
```java
153
-
session.joinUser(newResponseListener() { ... });
161
+
session.join(newResponseListener() { ... });
154
162
155
163
session.isUserJoined() // => true
156
164
```
157
165
158
166
This call will add your Pathshare user to the session and you will be able to see his location on a map in realtime in the Pathshare Professional web interface.
159
167
168
+
### Invite a customer
169
+
170
+
To invite a customer to the session, call the `inviteUser()` method on the session object:
This call will create a customer user and return an invitation URL that can be sent to the customer using your preffered channel. The customer will then see the driver's location in realtime as well as the ETA in a white-labeled view with your corporate identity.
187
+
160
188
### Leave Session
161
189
162
190
In order to stop sending user location and remove the user from the session, call the `leaveUser()` method:
0 commit comments