File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ The OpenTok Java SDK lets you generate
6
6
[ sessions] ( http://tokbox.com/opentok/tutorials/create-session/ ) and
7
7
[ tokens] ( http://tokbox.com/opentok/tutorials/create-token/ ) for [ OpenTok] ( http://www.tokbox.com/ )
8
8
applications that run on the JVM. This version of the SDK also includes support for working with
9
- <a href=" http://tokbox.com/#archiving"OpenTok 2.0 archives</ a > .
9
+ [ OpenTok 2.0 archives ] ( http://tokbox.com/#archiving ) .
10
10
11
11
# Installation using Maven Central (recommended):
12
12
@@ -106,7 +106,7 @@ String token = session.generateToken();
106
106
// Set some options in a token
107
107
String token = session. generateToken(new TokenOptions .Builder ()
108
108
.role(Role . MODERATOR )
109
- .expireTime((System . currentTimeMillis() / 1000 ) + (7 * 24 * 60 * 60 )) // in one week
109
+ .expireTime((System . currentTimeMillis() / 1000L ) + (7 * 24 * 60 * 60 )) // in one week
110
110
.data(" name=Johnny" )
111
111
.build());
112
112
```
You can’t perform that action at this time.
0 commit comments