Skip to content

Commit 843b638

Browse files
authored
Merge pull request #641 from dynamsoft-docs/luna-18.2
Android tab add
2 parents f6a92b3 + fecd3b9 commit 843b638

File tree

7 files changed

+581
-20
lines changed

7 files changed

+581
-20
lines changed

info/api/WebTwain_Acquire.md

Lines changed: 23 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ permalink: /info/api/WebTwain_Acquire.html
1919
- [Android Service](#android)
2020

2121
<div class="multi-panel-start"></div>
22+
2223
**1. The following APIs are compatible with TWAIN, ICA, SANE (Windows, macOS and Linux)**
2324

2425
**Methods**
@@ -87,24 +88,6 @@ permalink: /info/api/WebTwain_Acquire.html
8788

8889
<div class="multi-panel-end">
8990

90-
</div><div class="multi-panel-start"></div>
91-
92-
**Methods**
93-
94-
| |
95-
| :-------------------------------------------------- | :---------------------------------------------------------- | --------------------------------------------------- | --------------------------------------------------------- |
96-
| [`SelectSourceAsync()`](#selectsourceasync) | [`CloseSourceAsync()`](#closesourceasync) | [`GetDevicesAsync()`](#getdevicesasync) | [`SelectDeviceAsync()`](#selectdeviceasync) |
97-
| [`AcquireImageAsync()`](#acquireimageasync) |
98-
99-
**Events**
100-
101-
| |
102-
| :------------------------------------ |
103-
| [`OnPostTransferAsync`](#onposttransferasync) |
104-
105-
<div class="multi-panel-end"></div>
106-
107-
<div class="multi-panel-switching-end"></div>
10891

10992
---
11093

@@ -4773,4 +4756,25 @@ DWObject.GetDevicesAsync().then((deviceList)=>{
47734756
}).catch((e)=>{
47744757
console.error(e)
47754758
})
4776-
```
4759+
```
4760+
4761+
</div><div class="multi-panel-start"></div>
4762+
4763+
>The Android Service Edition only supports a subset of the APIs available in the Desktop Service Edition. For the APIs that are compatible with both editions, the usage remains the same. To learn how to use the APIs, please refer to the documentation for the Desktop Service Edition.
4764+
4765+
**Methods**
4766+
4767+
| |
4768+
| :-------------------------------------------------- | :---------------------------------------------------------- | --------------------------------------------------- | --------------------------------------------------------- |
4769+
| [`SelectSourceAsync()`](#selectsourceasync) | [`CloseSourceAsync()`](#closesourceasync) | [`GetDevicesAsync()`](#getdevicesasync) | [`SelectDeviceAsync()`](#selectdeviceasync) |
4770+
| [`AcquireImageAsync()`](#acquireimageasync) |[`getCapabilities()`](#getcapabilities) | [`setCapabilities()`](#setcapabilities) |
4771+
4772+
**Events**
4773+
4774+
| |
4775+
| :------------------------------------ |
4776+
| [`OnPostTransferAsync`](#onposttransferasync) |
4777+
4778+
<div class="multi-panel-end"></div>
4779+
4780+
<div class="multi-panel-switching-end"></div>

info/api/WebTwain_Buffer.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ permalink: /info/api/WebTwain_Buffer.html
1212

1313
The properties and methods on this page live in the namespace {WebTwainObject}. {WebTwainObject} denotes the `WebTwain` instance. Learn about [how to create a web twain object]({{site.indepth}}features/initialize.html#creating-the-webtwain-instance).
1414

15+
> All APIs on this page support Android Service from version 18.2.
16+
1517
**Methods**
1618

1719
| |

info/api/WebTwain_Edit.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ permalink: /info/api/WebTwain_Edit.html
1212

1313
The properties and methods on this page live in the namespace {WebTwainObject}. {WebTwainObject} denotes the `WebTwain` instance. Learn about [how to create a web twain object]({{site.indepth}}features/initialize.html#creating-the-webtwain-instance).
1414

15+
> All APIs on this page support Android Service from version 18.2.
16+
1517
**Methods**
1618

1719
| |

info/api/WebTwain_IO.md

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,13 @@ permalink: /info/api/WebTwain_IO.html
1313

1414
The properties and methods on this page live in the namespace {WebTwainObject}. {WebTwainObject} denotes the `WebTwain` instance. Learn about [how to create a web twain object]({{site.indepth}}features/initialize.html#creating-the-webtwain-instance).
1515

16+
<div class="multi-panel-switching-prefix"></div>
17+
18+
- [Desktop Service](#desktop)
19+
- [Android Service](#android)
20+
21+
<div class="multi-panel-start"></div>
22+
1623
**Methods**
1724

1825
**Input Methods**
@@ -60,6 +67,7 @@ The properties and methods on this page live in the namespace {WebTwainObject}.
6067
| :-------------------------------- | :-------------------------- | --------------------------------------------------------------- |
6168
| [`OnGetFilePath`](#ongetfilepath) | [`OnPostLoad`](#onpostload) | [`OnInternetTransferPercentage`](#oninternettransferpercentage) |
6269

70+
6371
---
6472

6573
## LoadImage
@@ -3897,3 +3905,58 @@ TIFF_T4 (3) and TIFF_FAX3 (3) are two names for the same compression type. So ar
38973905
TIFF_RLE (2), TIFF_T4 (3), TIFF_FAX3 (3) and TIFF_PACKBITS (32773) only support compression of 1-bit images. TIFF_JPEG (7) supports compression of 8-bit above color images and 8-bit grey images.
38983906

38993907
When TIFF_JPEG (7) is used, you can use JPEGQuality to further reduce the size of the TIFF file.
3908+
3909+
3910+
<div class="multi-panel-end">
3911+
3912+
</div><div class="multi-panel-start"></div>
3913+
3914+
>The Android Service Edition only supports a subset of the APIs available in the Desktop Service Edition. For the APIs that are compatible with both editions, the usage remains the same. To learn how to use the APIs, please refer to the documentation for the Desktop Service Edition.
3915+
3916+
**Methods**
3917+
3918+
**Input Methods**
3919+
3920+
| |
3921+
| :------------------------------------------------ | :------------------------------------------------------ | ----------------------------------------------------------- | ----------------------------------------------- |
3922+
| [`LoadImageEx()`](#loadimageex) | [`LoadImageFromBase64Binary()`](#loadimagefrombase64binary) | [`LoadImageFromBinary()`](#loadimagefrombinary) |[`LoadDibFromClipboard()`](#loaddibfromclipboard) |
3923+
| [`HTTPDownload()`](#httpdownload) |[`HTTPDownloadEx()`](#httpdownloadex) | [`HTTPDownloadThroughPost()`](#httpdownloadthroughpost) |
3924+
3925+
**Output Methods**
3926+
3927+
| |
3928+
| :----------------------------------------------------------------------------------------------------------------------- | :--------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- |
3929+
| [`ConvertToBase64()`](#converttobase64) | [`ConvertToBlob()`](#converttoblob) | [`HTTPUpload()`](#httpupload) |
3930+
| [`HTTPUploadThroughPutEx()`](#httpuploadthroughputex) | [`HTTPUploadThroughPost()`](#httpuploadthroughpost) | [`HTTPUploadThroughPostEx()`](#httpuploadthroughpostex) |
3931+
| [`HTTPUploadAllThroughPostAsMultiPageTIFF()`](#httpuploadallthroughpostasmultipagetiff) | [`HTTPUploadAllThroughPostAsPDF()`](#httpuploadallthroughpostaspdf) | [`HTTPUploadThroughPostAsMultiPagePDF()`](#httpuploadthroughpostasmultipagepdf) |
3932+
|[`HTTPUploadThroughPostAsMultiPageTIFF()`](#httpuploadthroughpostasmultipagetiff) | [`SaveAsBMP()`](#saveasbmp) | [`SaveAsJPEG()`](#saveasjpeg) |
3933+
|[`SaveAsPDF()`](#saveaspdf) | [`SaveAsPNG()`](#saveaspng) |
3934+
[`SaveAsTIFF()`](#saveastiff) |
3935+
|[`SaveSelectedImagesAsMultiPagePDF()`](#saveselectedimagesasmultipagepdf) | [`SaveSelectedImagesAsMultiPageTIFF()`](#saveselectedimagesasmultipagetiff)
3936+
| [`SaveAllAsMultiPageTIFF()`](#saveallasmultipagetiff) |
3937+
|[`SaveAllAsPDF()`](#saveallaspdf) |[`ShareImages()`](#shareimages) |
3938+
3939+
**Other Methods**
3940+
3941+
| |
3942+
| :-------------------------------------------- | :---------------------------------------- | --------------------------------------------------- | ----------------------------------------- |
3943+
| [`ClearTiffCustomTag()`](#cleartiffcustomtag) | [`SetTiffCustomTag()`](#settiffcustomtag) | [`ClearAllHTTPFormField()`](#clearallhttpformfield) | [`SetHTTPFormField()`](#sethttpformfield) |
3944+
| [`SetHTTPHeader()`](#sethttpheader) | [`SetUploadSegment()`](#setuploadsegment) | [`Print()`](#print) |[`PrintEx()`](#printex) |
3945+
3946+
**Properties**
3947+
3948+
| |
3949+
| :-------------------------------------------------------------- | :---------------------------------------------------------------------------- | ------------------------------------------- | --------------------------------------------------- |
3950+
| [`HttpFieldNameOfUploadedImage`](#httpfieldnameofuploadedimage) | [`HTTPPort`](#httpport) | [`IfSSL`](#ifssl) | [`HTTPPostResponseString`](#httppostresponsestring) |
3951+
|[`IfShowCancelDialogWhenImageTransfer`](#ifshowcanceldialogwhenimagetransfer) | [`IfShowProgressBar`](#ifshowprogressbar) | [`JPEGQuality`](#jpegquality) | [`IfTiffMultiPage`](#iftiffmultipage) |
3952+
| [`TIFFCompressionType`](#tiffcompressiontype) | [`MaxUploadImageSize`](#maxuploadimagesize) |
3953+
3954+
**Events**
3955+
3956+
| |
3957+
| :-------------------------------- | :-------------------------- | --------------------------------------------------------------- |
3958+
| [`OnPostLoad`](#onpostload) | [`OnInternetTransferPercentage`](#oninternettransferpercentage) |
3959+
3960+
<div class="multi-panel-end"></div>
3961+
3962+
<div class="multi-panel-switching-end"></div>

info/api/WebTwain_Util.md

Lines changed: 33 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,13 @@ permalink: /info/api/WebTwain_Util.html
1212

1313
The properties and methods on this page live in the namespace {WebTwainObject}. {WebTwainObject} denotes the `WebTwain` instance. Learn about [how to create a web twain object]({{site.indepth}}features/initialize.html#creating-the-webtwain-instance).
1414

15+
<div class="multi-panel-switching-prefix"></div>
16+
17+
- [Desktop Service](#desktop)
18+
- [Android Service](#android)
19+
20+
<div class="multi-panel-start"></div>
21+
1522
**Methods**
1623

1724
| |
@@ -26,6 +33,8 @@ The properties and methods on this page live in the namespace {WebTwainObject}.
2633
| [`ErrorCode`](#errorcode) | [`ErrorString`](#errorstring) | [`LogLevel`](#loglevel) | [`Manufacturer`](#manufacturer) |
2734
| [`ProductFamily`](#productfamily) | [`ProductName`](#productname) | [`VersionInfo`](#versioninfo) |
2835

36+
37+
2938
---
3039

3140
## isUsingActiveX
@@ -547,4 +556,27 @@ readonly VersionInfo: string;
547556

548557
**Usage notes**
549558

550-
`Manufacturer` , `ProductFamily` , `ProductName` and `VersionInfo` together form the identity string of the Dynamic Web TWAIN library.
559+
`Manufacturer` , `ProductFamily` , `ProductName` and `VersionInfo` together form the identity string of the Dynamic Web TWAIN library.
560+
561+
<div class="multi-panel-end">
562+
563+
</div><div class="multi-panel-start"></div>
564+
565+
>The Android Service Edition only supports a subset of the APIs available in the Desktop Service Edition. For the APIs that are compatible with both editions, the usage remains the same. To learn how to use the APIs, please refer to the documentation for the Desktop Service Edition.
566+
567+
**Methods**
568+
569+
| |
570+
| :--------------------------------------------------------------------- | :------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------- |
571+
| [`RegisterEvent()`]({{site.info}}api/WebTwain_Util.html#registerevent) | [`UnregisterEvent()`]({{site.info}}api/WebTwain_Util.html#unregisterevent) | [`GenerateURLForUploadData()`]({{site.info}}api/WebTwain_Util.html#generateurlforuploaddata) |
572+
573+
**Properties**
574+
575+
| |
576+
| :------------------------------------ | :---------------------------- | ----------------------------- | ------------------------------- |
577+
| [`ErrorCode`](#errorcode) | [`ErrorString`](#errorstring) | [`LogLevel`](#loglevel) | [`Manufacturer`](#manufacturer) |
578+
| [`ProductFamily`](#productfamily) | [`ProductName`](#productname) | [`VersionInfo`](#versioninfo) |
579+
580+
<div class="multi-panel-end"></div>
581+
582+
<div class="multi-panel-switching-end"></div>

info/api/WebTwain_Viewer.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ permalink: /info/api/WebTwain_Viewer.html
1212

1313
> {WebTwainObject} denotes the `WebTwain` instance.
1414
15+
> All APIs on this page support Android Service from version 18.2.
16+
1517
**Methods**
1618

1719
| |

0 commit comments

Comments
 (0)