0.0.5 • Published 10 months ago

@dominuss/call-receiver v0.0.5

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

call-receiver

.

Install

npm install call-receiver
npx cap sync

API

addListener('telephonyStatusChange', ...)

addListener(eventName: 'telephonyStatusChange', listenerFunc: TelephonyStatusChangeListener) => Promise<PluginListenerHandle> & PluginListenerHandle
ParamType
eventName'telephonyStatusChange'
listenerFuncTelephonyStatusChangeListener

Returns: Promise<PluginListenerHandle> & PluginListenerHandle


removeAllListeners()

removeAllListeners() => Promise<void>

checkPermissions()

checkPermissions() => Promise<{ telephony: PermissionState; }>

Returns: Promise<{ telephony: PermissionState; }>


requestPermissions()

requestPermissions() => Promise<{ telephony: PermissionState; }>

Returns: Promise<{ telephony: PermissionState; }>


Interfaces

PluginListenerHandle

PropType
remove() => Promise<void>

TelephonyStateIdle

PropType
phoneNumberstring | null
stateTelephonyStatus.IDLE

TelephonyStateRinging

PropType
phoneNumberstring
stateTelephonyStatus.RINGING

Type Aliases

TelephonyStatusChangeListener

(status: TelephonyState): void

TelephonyState

TelephonyStateIdle | TelephonyStateRinging

PermissionState

'prompt' | 'prompt-with-rationale' | 'granted' | 'denied'

Enums

TelephonyStatus

MembersValue
RINGING'ringing'
IDLE'idle'
acorn-jsxacornansi-colorsargparseansi-regexajvansi-stylesarray.prototype.flatarray-unionarray-buffer-byte-lengthat-least-nodeavailable-typed-arraysastral-regexbalanced-matcharray.prototype.flatmaparray-includescall-bindbrace-expansioncallsitescolor-namecolor-convertchalkcoloretteconcat-mapchevrotaincross-spawndeep-iscosmiconfigdebugdir-globemoji-regexenquirerdefine-propertieserror-exdoctrinees-shim-unscopableseslint-config-prettieres-set-tostringtages-to-primitiveeslint-import-resolver-nodeescape-string-regexpes-abstracteslint-plugin-importeslint-utilsesqueryeslint-scopeeslint-visitor-keyseslint-module-utilsespreebracesesrecurseesutilsfast-deep-equalfast-json-stable-stringifyfast-globflat-cachefile-entry-cachefast-levenshteinfill-rangeesprimafastqflattedfs.realpathfor-eachfs-extrafunction-bindfunctions-have-namesestraverseget-intrinsicget-stdinget-symbol-descriptionglobfunction.prototype.namefunctional-red-black-treeglobalsglob-parentgithub-sluggerglobbyglobalthisgraceful-fsgopdhashas-bigintshas-property-descriptorshas-flaghas-protohas-tostringtaghas-symbolsimport-freshinflightignoreinternal-slotimurmurhashis-arrayishinheritsis-array-bufferis-bigintis-callableis-core-moduleis-boolean-objectis-extglobis-fullwidth-code-pointis-date-objectis-negative-zerois-globis-numberis-regexis-number-objectis-stringis-symbolis-shared-array-bufferis-typed-arrayjava-parserisexejs-tokensjs-yamlis-weakrefjson-schema-traversejson-stable-stringify-without-jsonifyjson-parse-even-better-errorsjson5levnlines-and-columnsjsonfilelodash.truncatelodash.mergelru-cachelodashmicromatchminimatchminimistmerge2object-keysobject-inspectnatural-compareonceobject.valuesobject.assignoptionatorparent-modulepath-is-absolutepath-keypath-parseparse-jsonprelude-lsprogresspath-typemsqueue-microtaskpicomatchpunycoderegexppregexp.prototype.flagsregexp-to-astresolve-fromrequire-from-stringresolverun-parallelreusifysemvershebang-commandsafe-regex-testside-channelshebang-regexsprintf-jsslashstring-widthstring.prototype.trimslice-ansistring.prototype.trimendstrip-bomstring.prototype.trimstartstrip-ansisupports-colorstrip-json-commentssupports-preserve-symlinks-flagtext-tableto-regex-rangetsconfig-pathssignal-exittype-checktabletsutilstyped-array-lengthtree-killtslibunbox-primitivetype-festv8-compile-cacheuniversalifyuri-jswhich-boxed-primitivewhich-typed-arraywhichwrap-ansiuntildifywrappyyamlyallist
0.0.5

10 months ago

0.0.4

10 months ago

0.0.3

10 months ago

0.0.2

10 months ago

0.0.1

10 months ago