Commit 7a5e879 1 parent 91e81d7 commit 7a5e879 Copy full SHA for 7a5e879
File tree 1 file changed +5
-0
lines changed
android/src/main/java/com/mrousavy/camera/frameprocessor
1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change 1
1
package com .mrousavy .camera .frameprocessor ;
2
2
3
+ import androidx .annotation .Keep ;
3
4
import androidx .annotation .NonNull ;
4
5
import androidx .annotation .Nullable ;
5
6
import androidx .camera .core .ImageProxy ;
6
7
import com .facebook .jni .HybridData ;
8
+ import com .facebook .proguard .annotations .DoNotStrip ;
7
9
8
10
/**
9
11
* Declares a Frame Processor Plugin.
10
12
*/
13
+ @ SuppressWarnings ("JavaJniMissingFunction" )
11
14
public abstract class FrameProcessorPlugin {
12
15
static {
13
16
System .loadLibrary ("VisionCamera" );
@@ -23,6 +26,8 @@ public abstract class FrameProcessorPlugin {
23
26
* <a href="https://mrousavy.github.io/react-native-vision-camera/docs/guides/frame-processors-plugins-overview#types">Types</a>
24
27
* table for a list of supported types.
25
28
*/
29
+ @ DoNotStrip
30
+ @ Keep
26
31
public abstract @ Nullable Object callback (@ NonNull ImageProxy image , @ NonNull Object [] params );
27
32
28
33
/**
You can’t perform that action at this time.
0 commit comments