Partager via


NetworkRequest.HasTransport(TransportType) Method

Definition

[Android.Runtime.Register("hasTransport", "(I)Z", "GetHasTransport_IHandler", ApiSince=28)]
public virtual bool HasTransport (Android.Net.TransportType transportType);
[<Android.Runtime.Register("hasTransport", "(I)Z", "GetHasTransport_IHandler", ApiSince=28)>]
abstract member HasTransport : Android.Net.TransportType -> bool
override this.HasTransport : Android.Net.TransportType -> bool

Parameters

transportType
TransportType

Returns

Attributes

Remarks

Java documentation for android.net.NetworkRequest.hasTransport(int).

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