MCPcopy
hub / github.com/ionic-team/capacitor / Plugin

Interface Plugin

core/src/definitions.ts:74–77  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

72};
73
74export interface Plugin {
75 addListener(eventName: string, listenerFunc: (...args: any[]) => any): Promise<PluginListenerHandle>;
76 removeAllListeners(): Promise<void>;
77}
78
79export type PermissionState = 'prompt' | 'prompt-with-rationale' | 'granted' | 'denied';
80

Callers 7

initLegacyHandlersFunction · 0.65
web-plugin.spec.tsFile · 0.65
plugin.spec.tsFile · 0.65
initLegacyHandlersFunction · 0.65
initLegacyHandlersFunction · 0.65
plugin.spec.tsFile · 0.65
resetMethod · 0.65

Implementers 2

WebPlugincore/src/web-plugin.ts
Pluginandroid/capacitor/src/main/java/com/ge

Calls

no outgoing calls

Tested by

no test coverage detected