5.0.0 • Published 2 years ago
sh3h-util-plugin v5.0.0
sh3h-util-plugin
custom
Install
npm install sh3h-util-plugin
npx cap sync
API
echo(...)
getPageIntent()
getLocation()
quit(...)
getPushMessage()
getChangedInfo()
initLogger(...)
locate2Map(...)
navigate(...)
saveCompressPicture(...)
addWaterMark(...)
getFileSize(...)
compressVideo(...)
handWrite(...)
saveToPhotoAlbum(...)
chooseObject(...)
getJsContainerInfo()
setAllConfigs(...)
jump2Map(...)
checkIsNeedRefresh(...)
getTunnelToken()
addDoodle(...)
echo(...)
echo(options: { value: string; }) => Promise<{ value: string; }>
Param | Type |
---|---|
options | { value: string; } |
Returns: Promise<{ value: string; }>
getPageIntent()
getPageIntent() => Promise<any>
Returns: Promise<any>
getLocation()
getLocation() => Promise<any>
Returns: Promise<any>
quit(...)
quit(options: any) => Promise<any>
Param | Type |
---|---|
options | any |
Returns: Promise<any>
getPushMessage()
getPushMessage() => Promise<any>
Returns: Promise<any>
getChangedInfo()
getChangedInfo() => Promise<any>
Returns: Promise<any>
initLogger(...)
initLogger(path: string) => Promise<any>
Param | Type |
---|---|
path | string |
Returns: Promise<any>
locate2Map(...)
locate2Map(myLocation: any) => Promise<any>
Param | Type |
---|---|
myLocation | any |
Returns: Promise<any>
navigate(...)
navigate(startLoc: any, endLoc: any) => Promise<any>
Param | Type |
---|---|
startLoc | any |
endLoc | any |
Returns: Promise<any>
saveCompressPicture(...)
saveCompressPicture(srcPath: string, destPath: string, fileName: string, size: number) => Promise<any>
Param | Type |
---|---|
srcPath | string |
destPath | string |
fileName | string |
size | number |
Returns: Promise<any>
addWaterMark(...)
addWaterMark(srcPath: string, destPath: string, fileName: string, size: number, text: string) => Promise<any>
Param | Type |
---|---|
srcPath | string |
destPath | string |
fileName | string |
size | number |
text | string |
Returns: Promise<any>
getFileSize(...)
getFileSize(filePath: string) => Promise<any>
Param | Type |
---|---|
filePath | string |
Returns: Promise<any>
compressVideo(...)
compressVideo(srcPath: string, destPath: string, fileName: string) => Promise<any>
Param | Type |
---|---|
srcPath | string |
destPath | string |
fileName | string |
Returns: Promise<any>
handWrite(...)
handWrite(srcPath: string) => Promise<any>
Param | Type |
---|---|
srcPath | string |
Returns: Promise<any>
saveToPhotoAlbum(...)
saveToPhotoAlbum(srcPath: string) => Promise<any>
Param | Type |
---|---|
srcPath | string |
Returns: Promise<any>
chooseObject(...)
chooseObject(options: any) => Promise<any>
Param | Type |
---|---|
options | any |
Returns: Promise<any>
getJsContainerInfo()
getJsContainerInfo() => Promise<any>
Returns: Promise<any>
setAllConfigs(...)
setAllConfigs(configs: any) => Promise<any>
Param | Type |
---|---|
configs | any |
Returns: Promise<any>
jump2Map(...)
jump2Map(mapParams: any) => Promise<any>
Param | Type |
---|---|
mapParams | any |
Returns: Promise<any>
checkIsNeedRefresh(...)
checkIsNeedRefresh(userId: number) => Promise<any>
Param | Type |
---|---|
userId | number |
Returns: Promise<any>
getTunnelToken()
getTunnelToken() => Promise<any>
Returns: Promise<any>
addDoodle(...)
addDoodle(srcPath: string, destPath: string) => Promise<any>
Param | Type |
---|---|
srcPath | string |
destPath | string |
Returns: Promise<any>