Skip to content

Commit 5244a35

Browse files
committed
Edits to the main readme file for the 2.2 release.
1 parent 97f56fb commit 5244a35

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

README.md

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,8 @@ List<Archive> archives = opentok.listArchives(50, 50);
171171

172172
# Documentation
173173

174-
**TODO**: Reference documentation is available at <http://opentok.github.io/opentok-java-sdk/>
174+
Reference documentation is available at <http://www.tokbox.com//opentok/libraries/server/java/reference/index.html> and in the
175+
docs directory of the SDK
175176

176177
# Requirements
177178

@@ -185,11 +186,22 @@ This project is tested on both OpenJDK and Oracle implementations.
185186
**TODO**: See the [Releases](https://github.com/opentok/opentok-java-sdk/releases) page for details
186187
about each release.
187188

188-
## Important changes in v2.0
189+
## Important changes in v2.2
189190

190191
This version of the SDK includes support for working with OpenTok 2.0 archives. (This API does not
191192
work with OpenTok 1.0 archives.)
192193

194+
This version of the SDK includes a number of improvements in the API design. These include a number
195+
of API changes. See the OpenTok 2.2 SDK Reference for details on the new API.
196+
197+
The API_Config class has been removed. Store your OpenTok API key and API secret in code outside of the SDK files.
198+
199+
The `create_session()` method has been renamed `createSession()`. Also, the method has changed to
200+
take one parameter: a SessionProperties object. You now generate a SessionProperties object using a Builder pattern.
201+
202+
The `generate_token()` method has been renamed `generateToken()`. Also, the method has changed to
203+
take two parameters: the session ID and a TokenOptions object.
204+
193205
# Development and Contributing
194206

195207
Interested in contributing? We <3 pull requests! File a new

0 commit comments

Comments
 (0)