Skip to content

Commit b004a7c

Browse files
committed
notation for builders
1 parent 20dab4b commit b004a7c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -149,8 +149,8 @@ String archiveId = archive.getId();
149149
```
150150

151151
You can also disable audio or video recording by calling the `hasAudio(false)` or `hasVideo(false)`
152-
methods of an `AchiveProperties` object you pass into the `OpenTok.startArchive(String sessionId,
153-
ArchiveProperties properties)` method:
152+
methods of an `ArchiveProperties` builder, and passing the built object into the
153+
`OpenTok.startArchive(String sessionId, ArchiveProperties properties)` method:
154154

155155
```java
156156
import com.opentok.Archive;
@@ -223,8 +223,8 @@ List<Archive> archives = opentok.listArchives(50, 50);
223223
```
224224

225225
Note that you can also create an automatically archived session, by passing `ArchiveMode.ALWAYS`
226-
into the `archiveMode()` method of the SessionPropertiesBuilder object you use to build the
227-
`sessionProperties` parameter passed into the `OpenTok->createSession()` method (see "Creating
226+
into the `archiveMode()` method of the `SessionProperties.Builder` object you use to build the
227+
`sessionProperties` parameter passed into the `OpenTok.createSession()` method (see "Creating
228228
Sessions," above).
229229

230230
For more information on archiving, see the

0 commit comments

Comments
 (0)