Skip to content

Commit e34d9bd

Browse files
authored
Merge pull request #612 from dynamsoft-docs/preview
Preview
2 parents 0afffc7 + c5c682e commit e34d9bd

File tree

3 files changed

+9
-11
lines changed

3 files changed

+9
-11
lines changed

info/api/WebTwain_Acquire.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3932,8 +3932,8 @@ TransferMode: Dynamsoft.DWT.EnumDWT_TransferMode | number;
39323932
<tr>
39333933
<td align="center">v5.2+</td>
39343934
<td align="center">v10.0+</td>
3935-
<td align="center">v11.0+</td>
39363935
<td align="center">not supported</td>
3936+
<td align="center">v11.0+</td>
39373937
<td align="center">not supported</td>
39383938
</tr>
39393939

info/api/WebTwain_IO.md

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1296,9 +1296,7 @@ HTTPDownloadEx(
12961296
path: string,
12971297
type: Dynamsoft.DWT.EnumDWT_ImageType | number,
12981298
successCallback: () => void,
1299-
failureCallback: (
1300-
errorCode: number,
1301-
errorString: string) => void
1299+
failureCallback: (errorCode: number, errorString: string) => void
13021300
): void;
13031301
```
13041302

@@ -1383,8 +1381,8 @@ HTTPDownloadThroughPost(
13831381
host: string,
13841382
path: string,
13851383
type: Dynamsoft.DWT.EnumDWT_ImageType | number,
1386-
onEmptyResponse: () => void,
1387-
onServerReturnedSomething: (errorCode: number, errorString: string, response: string) => void,
1384+
successCallback: () => void,
1385+
failureCallback: (errorCode: number, errorString: string, response?: any) => void,
13881386
): void;
13891387
```
13901388

@@ -1396,12 +1394,12 @@ HTTPDownloadThroughPost(
13961394

13971395
`type`: The format of the file. Please refer to [EnumDWT_ImageType]({{site.info}}api/Dynamsoft_Enum.html#dynamsoftdwtenumdwt_imagetype).
13981396

1399-
`onEmptyResponse`: A callback function that is executed if the response is empty.
1397+
`successCallback`: A callback function that is executed if the request succeeds.
14001398

1401-
`onServerReturnedSomething`: A callback function that is executed if the response is not empty.
1399+
`failureCallback`: A callback function that is executed if the request fails.
14021400
- `errorCode`: The error code.
14031401
- `errorString`: The error string.
1404-
- `response`: The response string.
1402+
- `response`: The response from your server.
14051403

14061404
**Availability**
14071405

info/api/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -589,7 +589,7 @@ permalink: /info/api/
589589
|[`GetConvertMode()`]({{site.info}}api/Addon_PDF.html#getconvertmode)| [`IsModuleInstalled()`]({{site.info}}api/Addon_PDF.html#ismoduleinstalled) | [`IsTextBasedPDF()`]({{site.info}}api/Addon_PDF.html#istextbasedpdf)| [`SetConvertMode()`]({{site.info}}api/Addon_PDF.html#setconvertmode)|
590590
|[`SetPassword()`]({{site.info}}api/Addon_PDF.html#setpassword)|[`SetResolution()`]({{site.info}}api/Addon_PDF.html#setresolution)|[`Write.Setup()`]({{site.info}}api/Addon_PDF.html#writesetup)|
591591

592-
### Camera
592+
<!-- ### Camera
593593
594594
#### Methods
595595
@@ -598,7 +598,7 @@ permalink: /info/api/
598598
|[`getSourceList()`]({{site.info}}api/Addon_Camera.html#getsourcelist) | [`selectSource()`]({{site.info}}api/Addon_Camera.html#selectsource)|[`getCurrentSource()`]({{site.info}}api/Addon_Camera.html#getcurrentsource)|[`closeSource()`]({{site.info}}api/Addon_Camera.html#closesource)|
599599
|[`getResolution()`]({{site.info}}api/Addon_Camera.html#getresolution)| [`setResolution()`]({{site.info}}api/Addon_Camera.html#setresolution)| [`getCurrentResolution()`]({{site.info}}api/Addon_Camera.html#getcurrentresolution)| [`play()`]({{site.info}}api/Addon_Camera.html#play)|
600600
|[`pause()`]({{site.info}}api/Addon_Camera.html#pause)| [`resume()`]({{site.info}}api/Addon_Camera.html#resume)| [`stop()`]({{site.info}}api/Addon_Camera.html#stop)|[`getStatus()`]({{site.info}}api/Addon_Camera.html#getstatus)|
601-
|[`capture()`]({{site.info}}api/Addon_Camera.html#capture)| [`showVideo()`]({{site.info}}api/Addon_Camera.html#showvideo)| [`closeVideo()`]({{site.info}}api/Addon_Camera.html#closevideo)|[`scanDocument()`]({{site.info}}api/Addon_Camera.html#scandocument)|
601+
|[`capture()`]({{site.info}}api/Addon_Camera.html#capture)| [`showVideo()`]({{site.info}}api/Addon_Camera.html#showvideo)| [`closeVideo()`]({{site.info}}api/Addon_Camera.html#closevideo)|[`scanDocument()`]({{site.info}}api/Addon_Camera.html#scandocument)| -->
602602

603603
### Webcam
604604

0 commit comments

Comments
 (0)