getHotspotInfo.d.ts 628 B

12345678910111213141516171819202122232425262728293031323334353637
  1. /**
  2. * 获取设备热点信息
  3. *
  4. * \ **API目录**:设备
  5. *
  6. * @apiName 获取设备热点信息
  7. *
  8. * @returns
  9. * ssid string 热点ssid;
  10. * macIp string 热点mac地址
  11. *
  12. * @support
  13. * - IOS v1.3.5
  14. * - Android v1.3.5
  15. *
  16. * @example
  17. * ```typescript
  18. * getHotspotInfo()
  19. * .then(res => {
  20. * console.log(res);
  21. * })
  22. * .catch(err => {
  23. * console.log(err);
  24. * });
  25. * ```
  26. */
  27. declare function getHotspotInfo(): Promise<{
  28. ssid: string;
  29. macIp: string;
  30. }>;
  31. declare namespace getHotspotInfo {
  32. var version: {
  33. android: string;
  34. ios: string;
  35. };
  36. }
  37. export default getHotspotInfo;