0.0.7 • Published 7 months ago

capacitor-voip v0.0.7

Weekly downloads
-
License
MIT
Repository
github
Last release
7 months ago

capacitor-voip

Capacitor Voip

Install

npm install capacitor-voip
npx cap sync

API

initCore()

initCore() => Promise<CoreResult>

Returns: Promise<CoreResult>


login(...)

login(params: AccountParams) => Promise<LoginResult>
ParamType
paramsAccountParams

Returns: Promise<LoginResult>


outgoingCall(...)

outgoingCall(params: { address: string; }) => Promise<{ message: string; }>
ParamType
params{ address: string; }

Returns: Promise<{ message: string; }>


terminateCall()

terminateCall() => Promise<void>

acceptCall()

acceptCall() => Promise<void>

pauseOrResumeCall()

pauseOrResumeCall() => Promise<void>

toggleSpeaker()

toggleSpeaker() => Promise<toogleSpeakerResult>

Returns: Promise<toogleSpeakerResult>


muteMicrophone()

muteMicrophone() => Promise<muteMicrophoneResult>

Returns: Promise<muteMicrophoneResult>


Interfaces

CoreResult

PropType
statusboolean
core_versionstring

LoginResult

PropType
successboolean
messagestring
accountstring

AccountParams

PropType
usernamestring
passwordstring
domainstring
transport_typestring

toogleSpeakerResult

PropType
speaker_enabledboolean
audio_typestring

muteMicrophoneResult

PropType
is_mutedboolean
0.0.7

7 months ago

0.0.6

7 months ago

0.0.5

7 months ago

0.0.4

7 months ago

0.0.3

7 months ago

0.0.2

7 months ago

0.0.1

7 months ago