Settings.ExtraEasyConnectChannelList Field
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Activity Extra: The Channel List that the Enrollee used to scan a network.
[Android.Runtime.Register("EXTRA_EASY_CONNECT_CHANNEL_LIST", ApiSince=30)]
public const string ExtraEasyConnectChannelList;
[<Android.Runtime.Register("EXTRA_EASY_CONNECT_CHANNEL_LIST", ApiSince=30)>]
val mutable ExtraEasyConnectChannelList : string
Field Value
- Attributes
Remarks
Activity Extra: The Channel List that the Enrollee used to scan a network.
An extra returned on the result intent received when using the #ACTION_PROCESS_WIFI_EASY_CONNECT_URI
intent to launch the Easy Connect Operation. This extra contains the channel list that the Enrollee scanned for a network. This value is populated only by remote R2 devices, and only for the following error code: android.net.wifi.EasyConnectStatusCallback#EASY_CONNECT_EVENT_FAILURE_CANNOT_FIND_NETWORK
. Therefore, always check if this extra is available using Intent#hasExtra(String)
. If there is no error, i.e. if the operation returns android.app.Activity#RESULT_OK
, then this extra is not attached to the result intent. The list is JSON formatted, as an array (Wi-Fi global operating classes) of arrays (Wi-Fi channels).
Use the Intent#getStringExtra(String)
to obtain the list.
Java documentation for android.provider.Settings.EXTRA_EASY_CONNECT_CHANNEL_LIST
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.