Skip to content

Commit b78a02a

Browse files
committed
chore
1 parent 4898680 commit b78a02a

File tree

3 files changed

+22
-22
lines changed

3 files changed

+22
-22
lines changed

android/src/main/AndroidManifest.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11

22
<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">
44
</manifest>
5-

android/src/main/java/jp/rdlabo/capacitor/plugin/screenshot-event/ScreenshotEvent.java

Lines changed: 0 additions & 20 deletions
This file was deleted.
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
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+
}

0 commit comments

Comments
 (0)