1 Star 0 Fork 4.9K

famoustang / docs

forked from OpenHarmony / docs 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
WifiEvent.md 4.58 KB
一键复制 编辑 原始数据 按行查看 历史
wenjun 提交于 2020-09-08 10:08 . add OpenHarmony 1.0 baseline

WifiEvent

Overview

Related Modules:

Wifiservice

Description:

Represents the pointer to a Wi-Fi event callback for station and hotspot connection, disconnection, or scan.

If you do not need a callback, set the value of its pointer to NULL.

Since:

1.0

Version:

1.0

Summary

Data Fields

Variable Name

Description

OnWifiConnectionChanged )(int state, WifiLinkedInfo *info)

void(* 

OnWifiScanStateChanged )(int state, int size)

void(* 

OnHotspotStateChanged )(int state)

void(* 

OnHotspotStaJoin )(StationInfo *info)

void(* 

OnHotspotStaLeave )(StationInfo *info)

void(* 

Details

Field Documentation

OnHotspotStaJoin

void(* WifiEvent::OnHotspotStaJoin) ([StationInfo](StationInfo.md) *info)

Description:

Station connected

OnHotspotStaLeave

void(* WifiEvent::OnHotspotStaLeave) ([StationInfo](StationInfo.md) *info)

Description:

Station disconnected

OnHotspotStateChanged

void(* WifiEvent::OnHotspotStateChanged) (int state)

Description:

Hotspot state change

OnWifiConnectionChanged

void(* WifiEvent::OnWifiConnectionChanged) (int state, [WifiLinkedInfo](WifiLinkedInfo.md) *info)

Description:

Connection state change

OnWifiScanStateChanged

void(* WifiEvent::OnWifiScanStateChanged) (int state, int size)

Description:

Scan state change

1
https://gitee.com/famoustang/docs.git
git@gitee.com:famoustang/docs.git
famoustang
docs
docs
master

搜索帮助