0.0.83 • Published 3 years ago

capacitor-webnativeview v0.0.83

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

capacitor-webnativeview

Allow to embeb android native view like MapView as a canvas inside webview

Install

npm install capacitor-webnativeview
npx cap sync

API

invoke(...)

invoke(options: { viewId: number; methodId: number; params: string[]; }) => Promise<any>
ParamType
options{ viewId: number; methodId: number; params: string[]; }

Returns: Promise<any>


invokeObject(...)

invokeObject(options: { viewId: number; methodId: number; params: string[]; }) => Promise<any>
ParamType
options{ viewId: number; methodId: number; params: string[]; }

Returns: Promise<any>


setSize(...)

setSize(options: { viewId: number; width: number; height: number; }) => Promise<any>
ParamType
options{ viewId: number; width: number; height: number; }

Returns: Promise<any>


dispose(...)

dispose(options: { viewId: number; }) => Promise<any>
ParamType
options{ viewId: number; }

Returns: Promise<any>


update(...)

update(options: { viewId: number; }) => Promise<any>
ParamType
options{ viewId: number; }

Returns: Promise<any>


getViewData(...)

getViewData(options: { viewId: number; }) => Promise<any>
ParamType
options{ viewId: number; }

Returns: Promise<any>


createView(...)

createView(options: { name: string; }) => Promise<any>
ParamType
options{ name: string; }

Returns: Promise<any>


createObject(...)

createObject(options: { name: string; }) => Promise<any>
ParamType
options{ name: string; }

Returns: Promise<any>


lock(...)

lock(options: { viewId: number; left: number; top: number; width: number; height: number; }) => Promise<any>
ParamType
options{ viewId: number; left: number; top: number; width: number; height: number; }

Returns: Promise<any>


unlock(...)

unlock(options: {}) => Promise<any>
ParamType
options{}

Returns: Promise<any>


addListener('invalidate', ...)

addListener(eventName: 'invalidate', listenerFunc: (info: any) => void) => Promise<PluginListenerHandle> & PluginListenerHandle
ParamType
eventName'invalidate'
listenerFunc(info: any) => void

Returns: Promise<PluginListenerHandle> & PluginListenerHandle


createHandler(...)

createHandler(options: { name: string; targetMethod: string; eventName: string; }) => Promise<any>
ParamType
options{ name: string; targetMethod: string; eventName: string; }

Returns: Promise<any>


awaitEvent(...)

awaitEvent(options: { viewId: number; methodId: number; }) => Promise<any>
ParamType
options{ viewId: number; methodId: number; }

Returns: Promise<any>


bindEventToMethod(...)

bindEventToMethod(options: { objId: number; methodId: number; eventName: string; }) => Promise<any>
ParamType
options{ objId: number; methodId: number; eventName: string; }

Returns: Promise<any>


Interfaces

PluginListenerHandle

PropType
remove() => Promise<void>
0.0.80

3 years ago

0.0.81

3 years ago

0.0.82

3 years ago

0.0.83

3 years ago

0.0.73

3 years ago

0.0.75

3 years ago

0.0.76

3 years ago

0.0.77

3 years ago

0.0.78

3 years ago

0.0.79

3 years ago

0.0.70

3 years ago

0.0.72

3 years ago

0.0.62

3 years ago

0.0.63

3 years ago

0.0.64

3 years ago

0.0.65

3 years ago

0.0.66

3 years ago

0.0.67

3 years ago

0.0.68

3 years ago

0.0.60

3 years ago

0.0.61

3 years ago

0.0.51

3 years ago

0.0.50

3 years ago

0.0.47

3 years ago

0.0.45

3 years ago

0.0.41

3 years ago

0.0.40

3 years ago

0.0.36

3 years ago

0.0.35

3 years ago

0.0.31

3 years ago

0.0.30

3 years ago

0.0.28

3 years ago

0.0.27

3 years ago

0.0.26

3 years ago

0.0.25

3 years ago

0.0.24

3 years ago

0.0.23

3 years ago

0.0.22

3 years ago

0.0.21

3 years ago

0.0.20

3 years ago

0.0.19

3 years ago

0.0.18

3 years ago

0.0.17

3 years ago

0.0.16

3 years ago

0.0.15

3 years ago

0.0.13

3 years ago

0.0.12

3 years ago

0.0.11

3 years ago

0.0.10

3 years ago

0.0.9

3 years ago

0.0.8

3 years ago

0.0.7

3 years ago

0.0.6

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago