File tree Expand file tree Collapse file tree 3 files changed +22
-22
lines changed
java/jp/rdlabo/capacitor/plugin Expand file tree Collapse file tree 3 files changed +22
-22
lines changed Original file line number Diff line number Diff line change 1
1
2
2
<manifest xmlns : android =" http://schemas.android.com/apk/res/android"
3
- package =" jp.rdlabo.capacitor.plugin.screenshot-event.capacitorscreenshotevent " >
3
+ package =" jp.rdlabo.capacitor.plugin.screenshotevent " >
4
4
</manifest >
5
-
Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ package jp .rdlabo .capacitor .plugin .screenshotevent ;
2
+
3
+ import com .getcapacitor .JSObject ;
4
+ import com .getcapacitor .NativePlugin ;
5
+ import com .getcapacitor .Plugin ;
6
+ import com .getcapacitor .PluginCall ;
7
+ import com .getcapacitor .PluginMethod ;
8
+
9
+ @ NativePlugin ()
10
+ public class ScreenshotEvent extends Plugin {
11
+
12
+ @ PluginMethod ()
13
+ public void startWatchEvent (PluginCall call ) {
14
+ call .success (new JSObject ().put ("value" , true ));
15
+ }
16
+
17
+ @ PluginMethod ()
18
+ public void removeWatchEvent (PluginCall call ) {
19
+ call .success (new JSObject ().put ("value" , true ));
20
+ }
21
+ }
You can’t perform that action at this time.
0 commit comments