Documentation
¶
Index ¶
Constants ¶
View Source
const ( Creator = 0 NetworkIdPersistent = -2 NetworkIdTemporary = -1 SecurityTypeUnknown = -1 SecurityTypeWpa2Psk = 0 SecurityTypeWpa3Compatibility = 1 SecurityTypeWpa3Sae = 2 Available = 3 Connected = 0 Failed = 2 Invited = 1 GroupClientIpProvisioningModeIpv4Dhcp = 0 GroupClientIpProvisioningModeIpv6LinkLocal = 1 GroupOwnerBand2ghz = 1 GroupOwnerBand5ghz = 2 GroupOwnerBand6ghz = 3 GroupOwnerBandAuto = 0 GroupOwnerIntentAuto = -1 GroupOwnerIntentMax = 15 GroupOwnerIntentMin = 0 P2pVersion1 = 0 P2pVersion2 = 1 PccModeConnectionTypeLegacyOnly = 0 PccModeConnectionTypeLegacyOrR2 = 1 PccModeConnectionTypeR2Only = 2 Busy = 2 ConnectionRequestAccept = 0 ConnectionRequestDeferShowPinToService = 3 ConnectionRequestDeferToService = 2 ConnectionRequestReject = 1 Error = 0 GroupCreationFailureReasonConnectionCancelled = 0 GroupCreationFailureReasonGroupRemoved = 4 GroupCreationFailureReasonInvitationFailed = 5 GroupCreationFailureReasonProvisionDiscoveryFailed = 3 GroupCreationFailureReasonTimedOut = 1 GroupCreationFailureReasonUserRejected = 2 NoPermission = 4 NoServiceRequests = 3 P2pUnsupported = 1 WifiP2pDiscoveryStarted = 2 WifiP2pDiscoveryStopped = 1 WifiP2pListenStarted = 2 WifiP2pListenStopped = 1 WifiP2pScanFull = 0 WifiP2pScanSingleFreq = 2 WifiP2pScanSocial = 1 WifiP2pStateDisabled = 1 WifiP2pStateEnabled = 2 )
View Source
const ( ActionWifiP2pListenStateChanged = "android.net.wifi.p2p.action.WIFI_P2P_LISTEN_STATE_CHANGED" ActionWifiP2pRequestResponseChanged = "android.net.wifi.p2p.action.WIFI_P2P_REQUEST_RESPONSE_CHANGED" ExtraDiscoveryState = "discoveryState" ExtraListenState = "android.net.wifi.p2p.extra.LISTEN_STATE" ExtraNetworkInfo = "networkInfo" ExtraP2pDeviceList = "wifiP2pDeviceList" ExtraRequestConfig = "android.net.wifi.p2p.extra.REQUEST_CONFIG" ExtraRequestResponse = "android.net.wifi.p2p.extra.REQUEST_RESPONSE" ExtraWifiP2pDevice = "wifiP2pDevice" ExtraWifiP2pGroup = "p2pGroupInfo" ExtraWifiP2pInfo = "wifiP2pInfo" ExtraWifiState = "wifi_p2p_state" WifiP2pConnectionChangedAction = "android.net.wifi.p2p.CONNECTION_STATE_CHANGE" WifiP2pDiscoveryChangedAction = "android.net.wifi.p2p.DISCOVERY_STATE_CHANGE" WifiP2pPeersChangedAction = "android.net.wifi.p2p.PEERS_CHANGED" WifiP2pStateChangedAction = "android.net.wifi.p2p.STATE_CHANGED" WifiP2pThisDeviceChangedAction = "android.net.wifi.p2p.THIS_DEVICE_CHANGED" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.