Fixed zoom issue Fixed Fabric (new arch) compile issues on both platforms Fixed included broken codegen lib code Fixed broken .h import paths to avoid setting custom build settings Fixed potential memory issue by disabling view recycling Added Fabric (new arch) support for camera view component Added RN 0.81 for example Added RN 0.79 for main lib Added helper for re-running codegen Added gitignore for Android codegen making a podspec Added support for scanThrottleDelay on Android Added includesGeneratedCode to package.json to indicate changes Rewrote optional int props to use -1 instead due to RN bug Moved to Obj-C with C++ support (.mm) to avoid C++ compile issues
41 lines
1.8 KiB
Java
41 lines
1.8 KiB
Java
/**
|
|
* This code was generated by [react-native-codegen](https://www.npmjs.com/package/react-native-codegen).
|
|
*
|
|
* Do not edit this file as changes may cause incorrect behavior and will be lost
|
|
* once the code is regenerated.
|
|
*
|
|
* @generated by codegen project: GeneratePropsJavaInterface.js
|
|
*/
|
|
|
|
package com.facebook.react.viewmanagers;
|
|
|
|
import android.view.View;
|
|
import androidx.annotation.Nullable;
|
|
import com.facebook.react.bridge.ReadableMap;
|
|
import com.facebook.react.uimanager.ViewManagerWithGeneratedInterface;
|
|
|
|
public interface CKCameraManagerInterface<T extends View> extends ViewManagerWithGeneratedInterface {
|
|
void setFlashMode(T view, @Nullable String value);
|
|
void setFocusMode(T view, @Nullable String value);
|
|
void setMaxPhotoQualityPrioritization(T view, @Nullable String value);
|
|
void setZoomMode(T view, @Nullable String value);
|
|
void setZoom(T view, double value);
|
|
void setMaxZoom(T view, double value);
|
|
void setTorchMode(T view, @Nullable String value);
|
|
void setCameraType(T view, @Nullable String value);
|
|
void setScanBarcode(T view, boolean value);
|
|
void setShowFrame(T view, boolean value);
|
|
void setLaserColor(T view, @Nullable Integer value);
|
|
void setFrameColor(T view, @Nullable Integer value);
|
|
void setRatioOverlay(T view, @Nullable String value);
|
|
void setRatioOverlayColor(T view, @Nullable Integer value);
|
|
void setResetFocusTimeout(T view, int value);
|
|
void setResetFocusWhenMotionDetected(T view, boolean value);
|
|
void setResizeMode(T view, @Nullable String value);
|
|
void setScanThrottleDelay(T view, int value);
|
|
void setBarcodeFrameSize(T view, @Nullable ReadableMap value);
|
|
void setShutterPhotoSound(T view, boolean value);
|
|
void setShutterAnimationDuration(T view, int value);
|
|
void setOutputPath(T view, @Nullable String value);
|
|
}
|