1. ? ?
  2. PowerServer 2020 or older (Obsolete)
  3. Wednesday, 7 July 2021 00:44 AM UTC

我想获取到当前连接的wifi 的名称 ID

Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Wednesday, 7 July 2021 17:11 PM UTC
  2. PowerServer 2020 or older (Obsolete)
  3. # 1

你好;


   对于这种级别的 WIFI 详细信息,您可能需要使用 Cordova 插件。 例如:
http://www.npmjs.com/package/cordova-plugin-wifiinfo


问候......克里斯

Comment
There are no comments made yet.
Kai Zhao @Appeon Accepted Answer Pending Moderation
  1. Wednesday, 7 July 2021 02:54 AM UTC
  2. PowerServer 2020 or older (Obsolete)
  3. # 2

你好,

抱歉Appeon没有提供接口获取WIFI名字,目前只提供了获取连接类型的接口eon_mobile_connectionex.of_getconnectioninfo ( ),请参考。
https://docs.appeon.com/ps2020/workarounds_and_api_guide/Connection.html#eon_mobile_connectionex_object

函数eon_mobile_connectionex.of_getconnectioninfo返回值如下:

0 - No connection.
1 - Cell network: 2G/3G/4G.
2 - Wi-Fi network.
-1 - It is called in PowerBuilder or PowerServer Web, or there is an error.

Regards,
ZhaoKai

Comment
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.
We use cookies which are necessary for the proper functioning of our websites. We also use cookies to analyze our traffic, improve your experience and provide social media features. If you continue to use this site, you consent to our use of cookies.