0.7.7 • Published 7 months ago

capacitor-asiainfo v0.7.7

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

capacitor-asiainfo

capcitor plugin

Install

npm install capacitor-asiainfo
npx cap sync

API

echo(...)

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

Returns: Promise<{ value: string; }>


getIP()

getIP() => Promise<{ ip: string | null; }>

Returns: Promise<{ ip: string | null; }>


getSSID()

getSSID() => Promise<{ ssid: string | null; }>

Returns: Promise<{ ssid: string | null; }>


getBSSID()

getBSSID() => Promise<{ bssid: string | null; }>

Returns: Promise<{ bssid: string | null; }>


connect(...)

connect(options: { ssid: string; password?: string; }) => Promise<{ ssid: string | null; }>
ParamType
options{ ssid: string; password?: string; }

Returns: Promise<{ ssid: string | null; }>


disconnect()

disconnect() => Promise<void>

openAndroid(...)

openAndroid(option: AndroidOptions) => Promise<{ status: boolean; }>
ParamType
optionAndroidOptions

Returns: Promise<{ status: boolean; }>


openIOS(...)

openIOS(option: IOSOptions) => Promise<{ status: boolean; }>
ParamType
optionIOSOptions

Returns: Promise<{ status: boolean; }>


startConfig(...)

startConfig(options: { ssid: string; bssid: string; password: string; expectTaskResultCount: string; broadcastData: boolean; provisionDeviceKey: string; provisionDeviceSecret: string; token: string; }) => Promise<{ status: boolean; msg: string; }>
ParamType
options{ ssid: string; bssid: string; password: string; expectTaskResultCount: string; broadcastData: boolean; provisionDeviceKey: string; provisionDeviceSecret: string; token: string; }

Returns: Promise<{ status: boolean; msg: string; }>


stopConfig()

stopConfig() => Promise<{ status: boolean; }>

Returns: Promise<{ status: boolean; }>


startSoftAP(...)

startSoftAP(options: { ssid: string; bssid: string; password: string; provisionDeviceKey: string; provisionDeviceSecret: string; token: string; }) => Promise<{ status: boolean; msg: string; }>
ParamType
options{ ssid: string; bssid: string; password: string; provisionDeviceKey: string; provisionDeviceSecret: string; token: string; }

Returns: Promise<{ status: boolean; msg: string; }>


transparentBar()

transparentBar() => Promise<void>

statusBar()

statusBar() => Promise<{ statusHeight: string | null; }>

Returns: Promise<{ statusHeight: string | null; }>


startBleScan()

startBleScan() => Promise<{ deviceList: string | null; }>

Returns: Promise<{ deviceList: string | null; }>


connectBleDev(...)

connectBleDev(options: { mac: string; }) => Promise<{ status: boolean; }>
ParamType
options{ mac: string; }

Returns: Promise<{ status: boolean; }>


sendNetConfigInfo(...)

sendNetConfigInfo(options: { ssid: string; password: string; provisionDeviceKey: string; provisionDeviceSecret: string; token: string; }) => Promise<{ status: boolean; msg: string; }>
ParamType
options{ ssid: string; password: string; provisionDeviceKey: string; provisionDeviceSecret: string; token: string; }

Returns: Promise<{ status: boolean; msg: string; }>


getBlufiEnableSts()

getBlufiEnableSts() => Promise<{ status: boolean; }>

Returns: Promise<{ status: boolean; }>


getWifiBand()

getWifiBand() => Promise<{ wifiBand: string | null; }>

Returns: Promise<{ wifiBand: string | null; }>


Interfaces

AndroidOptions

PropType
optionAndroidSettings

IOSOptions

PropType
optionIOSSettings

Enums

AndroidSettings

MembersValueDescription
Accessibility'accessibility'Show settings for accessibility modules
Account'account'Show add account screen for creating a new account
AirplaneMode'airplane_mode'Show settings to allow entering/exiting airplane mode
Apn'apn'Show settings to allow configuration of APNs
ApplicationDetails'application_details'Show screen of details about a particular application
ApplicationDevelopment'application_development'Show settings to allow configuration of application development-related settings
Application'application'Show settings to allow configuration of application-related settings
BatteryOptimization'battery_optimization'Show screen for controlling which apps can ignore battery optimizations
Bluetooth'bluetooth'Show settings to allow configuration of Bluetooth
Captioning'captioning'Show settings for video captioning
Cast'cast'Show settings to allow configuration of cast endpoints
DataRoaming'data_roaming'Show settings for selection of 2G/3G/4G
Date'date'Show settings to allow configuration of date and time
Display'display'Show settings to allow configuration of display
Dream'dream'Show Daydream settings
Home'home'Show Home selection settings
Keyboard'keyboard'Show settings to configure input methods, in particular allowing the user to enable input methods
KeyboardSubType'keyboard_subtype'Show settings to enable/disable input method subtypes
Locale'locale'Show settings to allow configuration of locale
Location'location'Show settings to allow configuration of current location sources
ManageApplications'manage_applications'Show settings to manage installed applications
ManageAllApplications'manage_all_applications'Show settings to manage all applications
MemoryCard'memory_card'Show settings for memory card storage
Network'network'Show settings for selecting the network operator
NfcSharing'nfcsharing'Show NFC Sharing settings
NfcPayment'nfc_payment'Show NFC Tap & Pay settings
NfcSettings'nfc_settings'Show NFC settings
Print'print'Show the top level print settings
Privacy'privacy'Show settings to allow configuration of privacy options
QuickLaunch'quick_launch'Show settings to allow configuration of quick launch shortcuts
Search'search'Show settings for global search
Security'security'Show settings to allow configuration of security and location privacy
Settings'settings'Show system settings
ShowRegulatoryInfo'show_regulatory_info'Show the regulatory information screen for the device
Sound'sound'Show settings to a llow configuration of sound and volume
Storage'storage'Show settings for internal storage
Sync'sync'Show settings to allow configuration of sync settings
Usage'usage'Show settings to control access to usage information
UserDictionary'user_dictionary'Show settings to manage the user input dictionary
VoiceInput'voice_input'Show settings to configure input methods, in particular allowing the user to enable input methods
Wifi'wifi'Show settings to allow configuration of Wi-Fi
WifiIp'wifi_ip'Show settings to allow configuration of a static IP address for Wi-Fi
Wireless'wireless'Show settings to allow configuration of wireless controls such as Wi-Fi, Bluetooth and Mobile networks

IOSSettings

MembersValueDescription
About'about'Settings > About page
App'app'Opens your app-specific settings screen. Note that this is the only officially supported settings screen by Apple.
AutoLock'autoLock'Used to set if and when the screen should be automatically locked.
Bluetooth'bluetooth'Bluetooth settings. Allows the users to enable/disable bluetooth and to search for devices.
DateTime'dateTime'Date and time settings.
FaceTime'facetime'FaceTime settings.
General'general'Opens iOS general settings screen.
Keyboard'keyboard'Keyboard settings.
ICloud'iCloud'iCloud settings.
ICloudStorageBackup'iCloudStorageBackup'iCloud Storage and Backup settings.
International'international'Language and region settings.
LocationServices'locationServices'Show settings to allow configuration of current location sources
Music'music'Music settings.
Notes'notes'Notes settings.
Notifications'notifications'Notifications settings.
Phone'phone'Phone settings.
Photos'photos'Photos settings.
ManagedConfigurationList'managedConfigurationList'Allows the user to manage configuration profiles that are installed on the phone.
Reset'reset'Screen where the user can reset the phone to factory settings.
Ringtone'ringtone'Ringtone settings.
Sounds'sounds'Used to set phone volume, vibration settings, etc.
SoftwareUpdate'softwareUpdate'Software update screen.
Store'store'Store settings.
Wallpaper'wallpaper'Wallpaper settings.
WiFi'wifi'WiFi settings.
Tethering'tethering'Tethering settings (used to create a hotspot with mobile data).
DoNotDisturb'doNotDisturb'Do Not Disturb settings.
0.7.7

7 months ago

0.7.4

8 months ago

0.7.6

8 months ago

0.7.5

8 months ago

0.7.3

2 years ago

0.6.9

2 years ago

0.7.2

2 years ago

0.7.1

2 years ago

0.7.0

2 years ago

0.6.7

2 years ago

0.6.6

2 years ago

0.6.8

2 years ago

0.6.3

2 years ago

0.6.2

2 years ago

0.6.5

2 years ago

0.6.4

2 years ago

0.5.9

3 years ago

0.6.1

3 years ago

0.6.0

3 years ago

0.5.4

3 years ago

0.5.5

3 years ago

0.4.9

3 years ago

0.4.8

3 years ago

0.5.3

3 years ago

0.5.0

3 years ago

0.5.2

3 years ago

0.5.1

3 years ago

0.4.5

3 years ago

0.4.4

3 years ago

0.4.7

3 years ago

0.4.6

3 years ago

0.4.1

3 years ago

0.4.3

3 years ago

0.4.2

3 years ago

0.3.9

3 years ago

0.3.8

3 years ago

0.4.0

3 years ago

0.3.7

3 years ago

0.3.6

3 years ago

0.3.5

3 years ago

0.3.4

3 years ago

0.3.3

3 years ago

0.3.1

3 years ago

0.3.0

3 years ago

0.2.9

3 years ago

0.2.8

3 years ago

0.2.6

3 years ago

0.2.5

3 years ago

0.2.4

3 years ago

0.2.3

3 years ago

0.2.2

3 years ago

0.2.1

3 years ago

0.2.0

3 years ago

0.1.9

3 years ago

0.1.8

3 years ago

0.1.7

3 years ago

0.1.6

3 years ago

0.1.5

3 years ago

0.1.4

3 years ago

0.1.3

3 years ago

0.1.2

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago

0.0.9

3 years ago

0.0.8

3 years ago

0.0.7

3 years ago

0.0.6

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago