ppi-device-binding
v0.0.8
Published
PayPoint Device Binding Plugin
Downloads
16
Readme
ppi-device-binding
PayPoint Device Binding Plugin
Install
npm install ppi-device-binding
npx cap sync
API
echo(...)
checkPermission()
checkSMSPermisson()
checkSimPresent()
getSubscriptionIds()
sendMessage(...)
setSmartIntent(...)
iOSComposeSMS(...)
echo2(...)
requestWithWrapper(...)
iOSSimPresent()
echo(...)
echo(options: { value: string; }) => Promise<{ value: string; }>
| Param | Type |
| ------------- | ------------------------------- |
| options
| { value: string; } |
Returns: Promise<{ value: string; }>
checkPermission()
checkPermission() => Promise<{ value: string; }>
Returns: Promise<{ value: string; }>
checkSMSPermisson()
checkSMSPermisson() => Promise<{ value: string; }>
Returns: Promise<{ value: string; }>
checkSimPresent()
checkSimPresent() => Promise<{ value: boolean; }>
Returns: Promise<{ value: boolean; }>
getSubscriptionIds()
getSubscriptionIds() => Promise<{ value: any; }>
Returns: Promise<{ value: any; }>
sendMessage(...)
sendMessage(options: { destinationNumber: string; sourceNumber: string; messageContent: string; subId: number; }) => Promise<{ value: boolean; }>
| Param | Type |
| ------------- | -------------------------------------------------------------------------------------------------------- |
| options
| { destinationNumber: string; sourceNumber: string; messageContent: string; subId: number; } |
Returns: Promise<{ value: boolean; }>
setSmartIntent(...)
setSmartIntent(options: { enable: boolean; }) => Promise<{ value: boolean; }>
| Param | Type |
| ------------- | --------------------------------- |
| options
| { enable: boolean; } |
Returns: Promise<{ value: boolean; }>
iOSComposeSMS(...)
iOSComposeSMS(options: { destinationNumber: string; messageContent: string; }) => Promise<any>
| Param | Type |
| ------------- | ------------------------------------------------------------------- |
| options
| { destinationNumber: string; messageContent: string; } |
Returns: Promise<any>
echo2(...)
echo2(options: { value: string; }) => Promise<{ value: string; }>
| Param | Type |
| ------------- | ------------------------------- |
| options
| { value: string; } |
Returns: Promise<{ value: string; }>
requestWithWrapper(...)
requestWithWrapper(options: { url: string; method: string; parameters: object; headers: object; }) => Promise<{ value: any; }>
| Param | Type |
| ------------- | ---------------------------------------------------------------------------------- |
| options
| { url: string; method: string; parameters: object; headers: object; } |
Returns: Promise<{ value: any; }>
iOSSimPresent()
iOSSimPresent() => Promise<{ value: string; }>
Returns: Promise<{ value: string; }>