1.0.0 • Published 1 month ago

capacitor-plugin-vonage v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 month ago

capacitor-plugin-vonage

opentok sdk capacitor plugin

Install

npm install capacitor-plugin-vonage
npx cap sync

API

echo(...)

echo(options: { value: string; }) => Promise<{ value: string; }>
ParamType
options{ value: string; }

Returns: Promise<{ value: string; }>


openVideoCallWindow(...)

openVideoCallWindow(options: Object) => Promise<{ value: any; }>
ParamType
optionsObject

Returns: Promise<{ value: any; }>


endVideoCall()

endVideoCall() => Promise<{ value: string; }>

Returns: Promise<{ value: string; }>


setPatientOnlineStatus(...)

setPatientOnlineStatus(options: Object) => Promise<{ value: any; }>
ParamType
optionsObject

Returns: Promise<{ value: any; }>


setSendNotificationStatus(...)

setSendNotificationStatus(options: Object) => Promise<{ value: any; }>
ParamType
optionsObject

Returns: Promise<{ value: any; }>


addListener(eventName: 'VideoCallEnded', listenerFunc: (info: any) => void | eventName: 'SendNotification', listenerFunc: (info: any) => void | eventName: 'VideoCallStarted', listenerFunc: (info: any) => void, ...)

addListener(...args: [eventName: "VideoCallEnded", listenerFunc: (info: any) => void] | [eventName: "SendNotification", listenerFunc: (info: any) => void] | [eventName: "VideoCallStarted", listenerFunc: (info: any) => void]) => Promise<PluginListenerHandle> & PluginListenerHandle
ParamType
argseventName: 'VideoCallEnded', listenerFunc: (info: any) => void | eventName: 'SendNotification', listenerFunc: (info: any) => void | eventName: 'VideoCallStarted', listenerFunc: (info: any) => void

Returns: Promise<PluginListenerHandle> & PluginListenerHandle


Interfaces

Object

Provides functionality common to all JavaScript objects.

PropTypeDescription
constructorFunctionThe initial value of Object.prototype.constructor is the standard built-in Object constructor.
MethodSignatureDescription
toString() => stringReturns a string representation of an object.
toLocaleString() => stringReturns a date converted to a string using the current locale.
valueOf() => ObjectReturns the primitive value of the specified object.
hasOwnProperty(v: PropertyKey) => booleanDetermines whether an object has a property with the specified name.
isPrototypeOf(v: Object) => booleanDetermines whether an object exists in another object's prototype chain.
propertyIsEnumerable(v: PropertyKey) => booleanDetermines whether a specified property is enumerable.

Function

Creates a new function.

PropType
prototypeany
lengthnumber
argumentsany
callerFunction
MethodSignatureDescription
apply(this: Function, thisArg: any, argArray?: any) => anyCalls the function, substituting the specified object for the this value of the function, and the specified array for the arguments of the function.
call(this: Function, thisArg: any, ...argArray: any[]) => anyCalls a method of an object, substituting another object for the current object.
bind(this: Function, thisArg: any, ...argArray: any[]) => anyFor a given function, creates a bound function that has the same body as the original function. The this object of the bound function is associated with the specified object, and has the specified initial parameters.
toString() => stringReturns a string representation of a function.

PluginListenerHandle

PropType
remove() => Promise<void>

Type Aliases

PropertyKey

string | number | symbol

1.0.0

1 month ago

0.1.9

3 months ago

0.1.8

3 months ago

0.1.7

3 months ago

0.1.6

4 months ago

0.1.4

4 months ago

0.1.5

4 months ago

0.1.3

4 months ago

0.1.2

4 months ago

0.1.0

4 months ago

0.1.1

4 months ago

0.0.9

5 months ago

0.0.8

5 months ago

0.0.7

5 months ago

0.0.6

5 months ago

0.0.5

5 months ago

0.0.4

5 months ago

0.0.3

5 months ago

0.0.2

5 months ago

0.0.1

6 months ago