Settings.ExtraEasyConnectErrorCode Field

Definition

Activity Extra: The Easy Connect operation error code

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

Field Value

Attributes

Remarks

Activity Extra: The Easy Connect operation error code

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 integer error code of the operation - one of android.net.wifi.EasyConnectStatusCallbackEASY_CONNECT_EVENT_FAILURE_*. 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#hasExtra(String) to determine whether the extra is attached and Intent#getIntExtra(String, int) to obtain the error code data.

Java documentation for android.provider.Settings.EXTRA_EASY_CONNECT_ERROR_CODE.

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