Skip to content

Commit 23c863c

Browse files
authored
Merge pull request #58 from dynamsoft-docs/preview
update to internal commit 777ab408
2 parents 2fea25b + 4286cc2 commit 23c863c

24 files changed

+154
-20
lines changed

_config.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ repository: dynamsoft-docs/camera-enhancer-docs-mobile
33
docFullPath: https://www.dynamsoft.com/camera-enhancer/docs/mobile/
44
firstLevelUrl: /camera-enhancer/docs/mobile
55
docHomePage: /camera-enhancer/docs/core/introduction/
6+
needSearchIndex: true
7+
searchNeedFilter: true
68

79
productUrl: https://www.dynamsoft.com/camera-enhancer/overview/
810
productName: Dynamsoft Camera Enhancer
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
---
2+
layout: default-layout
3+
title: ZoomFactorChangeListener - Dynamsoft Camera Enhancer Android Edition API Reference
4+
description: The interface ZoomFactorChangeListener of DynamsoftCameraEnhancer defines the methods for monitoring the change of the zoom-factor.
5+
keywords: photo listener, Java, Kotlin
6+
needGenerateH3Content: true
7+
needAutoGenerateSidebar: true
8+
noTitleIndex: true
9+
---
10+
11+
# ZoomFactorChangeListener
12+
13+
The `ZoomFactorChangeListener` interface defines the methods for monitoring the change of the zoom-factor.
14+
15+
## Definition
16+
17+
*Assembly:* package com.dynamsoft.dce
18+
19+
```java
20+
interface ZoomFactorChangeListener
21+
```
22+
23+
## Methods
24+
25+
| Method | Description |
26+
|------- |-------------|
27+
| [`onZoomFactorChanged`](#onphotooutput) | The method for monitoring the change of the zoom-factor. |
28+
29+
### onZoomFactorChanged
30+
31+
The method for monitoring the change of the zoom-factor.
32+
33+
```java
34+
void onZoomFactorChanged(float currentZoomFactor);
35+
```
36+
37+
**Parameters**
38+
39+
`currentZoomFactor`: The current zoom-factor.

programming/android/primary-api/camera-enhancer.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ class CameraEnhancer extends ImageSourceAdapter
7171
| [`getAllCameras`](#getallcameras) | Get the IDs of all available cameras. |
7272
| [`selectCamera`](#selectcamera) | Select a camera with a camera ID. |
7373
| [`getSelectedCamera`](#getselectedcamera) | Get the currently actived camera. |
74+
| [`setZoomFactorChangeListener`](#setzoomfactorchangelistener) | Set a `ZoomFactorChangeListener` to receive callback when the zoom-factor changed. |
7475

7576
## Inherited Methods
7677

@@ -696,3 +697,15 @@ String getSelectedCamera(){}
696697
**Return Value**
697698

698699
The ID of the currently actived camera.
700+
701+
### setZoomFactorChangeListener
702+
703+
Set a [`ZoomFactorChangeListener`](../auxiliary-api/interface-zoomfactorchangelistener.md) to receive callback when the zoom-factor changed.
704+
705+
```java
706+
void setZoomFactorChangeListener(ZoomFactorChangeListener listener);
707+
```
708+
709+
**Parameters**
710+
711+
`listener`: A [`ZoomFactorChangeListener`](../auxiliary-api/interface-zoomfactorchangelistener.md) to receive callback when the zoom-factor changed.

programming/ios/auxiliary-api/camera-enhancer-module.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ The `DSCameraEnhancerModule` class defines general functions of the camera enhan
1414

1515
## Definition
1616

17-
*Assembly:* DynamsoftCore.xcframework
17+
*Assembly:* DynamsoftCaptureVisionBundle.xcframework
1818

1919
<div class="sample-code-prefix"></div>
2020
>- Objective-C

programming/ios/auxiliary-api/capabilities.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ The `DSCapabilities` class represents the capability properties of the hardware,
1414

1515
## Definition
1616

17-
*Assembly:* DynamsoftCore.xcframework
17+
*Assembly:* DynamsoftCaptureVisionBundle.xcframework
1818

1919
<div class="sample-code-prefix"></div>
2020
>- Objective-C

programming/ios/auxiliary-api/dcedrawinglayer.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ The `DSDrawingLayer` class represents a drawing layer, which is used for managin
1414

1515
## Definition
1616

17-
*Assembly:* DynamsoftCameraEnhancer.xcframework
17+
*Assembly:* DynamsoftCaptureVisionBundle.xcframework
1818

1919
<div class="sample-code-prefix"></div>
2020
>- Objective-C

programming/ios/auxiliary-api/dcefeedback.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ The `DSFeedback` class provides methods to trigger feedbacks from the hardware,
1414

1515
## Definition
1616

17-
*Assembly:* DynamsoftCore.xcframework
17+
*Assembly:* DynamsoftCaptureVisionBundle.xcframework
1818

1919
<div class="sample-code-prefix"></div>
2020
>- Objective-C

programming/ios/auxiliary-api/dceimageeditorview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ The `DSImageEditorView` class represents an image editor view, which allows user
1414

1515
## Definition
1616

17-
*Assembly:* DynamsoftCore.xcframework
17+
*Assembly:* DynamsoftCaptureVisionBundle.xcframework
1818

1919
<div class="sample-code-prefix"></div>
2020
>- Objective-C

programming/ios/auxiliary-api/drawingitem-arc.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ The `ArcDrawingItem` class is a subclass of `DrawingItem`. It represents a drawi
1414

1515
## Definition
1616

17-
*Assembly:* DynamsoftCameraEnhancer.xcframework
17+
*Assembly:* DynamsoftCaptureVisionBundle.xcframework
1818

1919
<div class="sample-code-prefix"></div>
2020
>- Objective-C

programming/ios/auxiliary-api/drawingitem-line.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ The `DSLineDrawingItem` class is a subclass of `DSDrawingItem` and represents a
1414

1515
## Definition
1616

17-
*Assembly:* DynamsoftCameraEnhancer.xcframework
17+
*Assembly:* DynamsoftCaptureVisionBundle.xcframework
1818

1919
<div class="sample-code-prefix"></div>
2020
>- Objective-C

0 commit comments

Comments
 (0)