Partager via


WifiP2pManager.GroupCreationFailureReasonUserRejected Field

Definition

Caution

This constant will be removed in the future version. Use Android.Net.Wifi.P2p.WifiP2pCreationFailureReason enum directly instead of this field.

P2p group creation failed because user has rejected.

[Android.Runtime.Register("GROUP_CREATION_FAILURE_REASON_USER_REJECTED", ApiSince=35)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Net.Wifi.P2p.WifiP2pCreationFailureReason enum directly instead of this field.", true)]
public const Android.Net.Wifi.P2p.WifiP2pCreationFailureReason GroupCreationFailureReasonUserRejected = 2;
[<Android.Runtime.Register("GROUP_CREATION_FAILURE_REASON_USER_REJECTED", ApiSince=35)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Net.Wifi.P2p.WifiP2pCreationFailureReason enum directly instead of this field.", true)>]
val mutable GroupCreationFailureReasonUserRejected : Android.Net.Wifi.P2p.WifiP2pCreationFailureReason

Field Value

Value = 2
Attributes

Remarks

P2p group creation failed because user has rejected. Used in WifiP2pListener#onGroupCreationFailed(int reason).

Java documentation for android.net.wifi.p2p.WifiP2pManager.GROUP_CREATION_FAILURE_REASON_USER_REJECTED.

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