Partager via


WifiP2pManager.NoServiceRequests Field

Definition

Caution

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

Passed with ActionListener#onFailure.

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

Field Value

Value = 3
Attributes

Remarks

Passed with ActionListener#onFailure. Indicates that the #discoverServices failed because no service requests are added. Use #addServiceRequest to add a service request.

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

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