Język

TrafficDescriptor.ConnectionCapability Property

Definition

Get the connection capability of the traffic.

public int ConnectionCapability { [Android.Runtime.Register("getConnectionCapability", "()I", "", ApiSince=37)] get; }
[<get: Android.Runtime.Register("getConnectionCapability", "()I", "", ApiSince=37)>]
member this.ConnectionCapability : int

Property Value

The connection capability, as one of the CONNECTION_CAPABILITY_* constants. Returns #CONNECTION_CAPABILITY_UNKNOWN if not specified.

Attributes

Remarks

Get the connection capability of the traffic.

The connection capability indicates the type of traffic. The values are defined in 3GPP TS 24.526, Table 5.2.1. This is used by the network for UE Route Selection Policy (URSP) traffic matching.

When used to request a data connection, the framework may only use one specific connection capability to match a network capability, even if the underlying APN supports multiple (e.g., both internet and MMS). In such cases, only the single matched connection capability from the network request will be sent to the modem.

Android reference for android.telephony.data.TrafficDescriptor.getConnectionCapability.

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