Share via


Settings.ExtraEasyConnectBandList Field

Definition

Activity Extra: The Band List that the Enrollee supports.

[Android.Runtime.Register("EXTRA_EASY_CONNECT_BAND_LIST", ApiSince=30)]
public const string ExtraEasyConnectBandList;
[<Android.Runtime.Register("EXTRA_EASY_CONNECT_BAND_LIST", ApiSince=30)>]
val mutable ExtraEasyConnectBandList : string

Field Value

Attributes

Remarks

Activity Extra: The Band List that the Enrollee supports.

This extra contains the bands the Enrollee supports, expressed as the Global Operating Class, see Table E-4 in IEEE Std 802.11-2016 Global operating classes. It is used both as input, to configure the Easy Connect operation and as output of the operation.

As input: an optional extra to be attached to the #ACTION_PROCESS_WIFI_EASY_CONNECT_URI. If attached, it indicates the bands which the remote device (enrollee, device-to-be-configured) supports. The Settings operation may take this into account when presenting the user with list of networks configurations to be used. The calling app may obtain this information in any out-of-band method. The information should be attached as an array of raw integers - using the Intent#putExtra(String, int[]).

As output: 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 value is populated only by remote R2 devices, and only for the following error codes: android.net.wifi.EasyConnectStatusCallback#EASY_CONNECT_EVENT_FAILURE_CANNOT_FIND_NETWORK, android.net.wifi.EasyConnectStatusCallback#EASY_CONNECT_EVENT_FAILURE_ENROLLEE_AUTHENTICATION, or android.net.wifi.EasyConnectStatusCallback#EASY_CONNECT_EVENT_FAILURE_ENROLLEE_REJECTED_CONFIGURATION. 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.

Use the Intent#getIntArrayExtra(String) to obtain the list.

Java documentation for android.provider.Settings.EXTRA_EASY_CONNECT_BAND_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.

Applies to