NetworkRequest.GetTransportTypes Method

Definition

Gets all the transports set on this NetworkRequest instance.

[Android.Runtime.Register("getTransportTypes", "()[I", "GetGetTransportTypesHandler", ApiSince=31)]
public virtual int[] GetTransportTypes();
[<Android.Runtime.Register("getTransportTypes", "()[I", "GetGetTransportTypesHandler", ApiSince=31)>]
abstract member GetTransportTypes : unit -> int[]
override this.GetTransportTypes : unit -> int[]

Returns

Int32[]

an array of transport type values for this instance.

Attributes

Remarks

Gets all the transports set on this NetworkRequest instance.

Java documentation for android.net.NetworkRequest.getTransportTypes().

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