File tree Expand file tree Collapse file tree 6 files changed +9
-9
lines changed
test/java/com/opentok/test Expand file tree Collapse file tree 6 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ The following code creates a peer-to-peer session:
75
75
76
76
<pre >
77
77
import com.opentok.api.OpenTokSDK;
78
- import com.opentok.api.constants. SessionProperties;
78
+ import com.opentok.SessionProperties;
79
79
import com.opentok.exception.OpenTokException;
80
80
81
81
class Test {
Original file line number Diff line number Diff line change 1
1
import com .opentok .api .OpenTok ;
2
2
import com .opentok .api .Session ;
3
3
import com .opentok .api .constants .Role ;
4
- import com .opentok .api . constants . SessionProperties ;
4
+ import com .opentok .SessionProperties ;
5
5
import com .opentok .exception .OpenTokException ;
6
6
7
7
class Sample {
Original file line number Diff line number Diff line change 1
- package com .opentok . api . constants ;
1
+ package com .opentok ;
2
2
3
3
import com .opentok .exception .OpenTokInvalidArgumentException ;
4
4
import org .apache .commons .validator .routines .InetAddressValidator ;
12
12
/**
13
13
* Defines values for the <code>properties</code> parameter of the {@link com.opentok.api.OpenTok#createSession(SessionProperties)} method.
14
14
*
15
- * @see <a href="../OpenTokSDK.html#createSession(com.opentok.api.constants. SessionProperties)">OpenTokSDK.createSession(SessionProperties)</a>
15
+ * @see <a href="../OpenTokSDK.html#createSession(com.opentok.SessionProperties)">OpenTokSDK.createSession(SessionProperties)</a>
16
16
*/
17
17
public class SessionProperties {
18
18
Original file line number Diff line number Diff line change 20
20
21
21
import com .opentok .api .constants .TokenOptions ;
22
22
23
- import com .opentok .api . constants . SessionProperties ;
23
+ import com .opentok .SessionProperties ;
24
24
import com .opentok .exception .OpenTokException ;
25
25
import com .opentok .exception .OpenTokInvalidArgumentException ;
26
26
import com .opentok .util .HttpClient ;
@@ -196,7 +196,7 @@ public String generateToken(String sessionId) throws OpenTokException {
196
196
*
197
197
* <pre>
198
198
* import com.opentok.api.OpenTokSDK;
199
- * import com.opentok.api.constants. SessionProperties;
199
+ * import com.opentok.SessionProperties;
200
200
*
201
201
* class Test {
202
202
* public static void main(String argv[]) throws OpenTokException {
@@ -214,7 +214,7 @@ public String generateToken(String sessionId) throws OpenTokException {
214
214
*
215
215
* <pre>
216
216
* import com.opentok.api.OpenTokSDK;
217
- * import com.opentok.api.constants. SessionProperties;
217
+ * import com.opentok.SessionProperties;
218
218
*
219
219
* class Test {
220
220
* public static void main(String argv[]) throws OpenTokException {
Original file line number Diff line number Diff line change 11
11
import com .opentok .util .Crypto ;
12
12
import org .apache .commons .codec .binary .Base64 ;
13
13
14
- import com .opentok .api . constants . SessionProperties ;
14
+ import com .opentok .SessionProperties ;
15
15
import com .opentok .api .constants .TokenOptions ;
16
16
import com .opentok .exception .OpenTokException ;
17
17
import com .opentok .exception .OpenTokInvalidArgumentException ;
Original file line number Diff line number Diff line change 19
19
import com .opentok .api .Session ;
20
20
import com .opentok .api .constants .Version ;
21
21
import com .opentok .api .constants .Role ;
22
- import com .opentok .api . constants . SessionProperties ;
22
+ import com .opentok .SessionProperties ;
23
23
import com .opentok .exception .OpenTokException ;
24
24
import com .opentok .exception .OpenTokInvalidArgumentException ;
25
25
You can’t perform that action at this time.
0 commit comments