TrafficDescriptor.Builder.SetConnectionCapability(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Set the connection capability of the traffic.
[Android.Runtime.Register("setConnectionCapability", "(I)Landroid/telephony/data/TrafficDescriptor$Builder;", "", ApiSince=37)]
public Android.Telephony.Data.TrafficDescriptor.Builder SetConnectionCapability(int connectionCapability);
[<Android.Runtime.Register("setConnectionCapability", "(I)Landroid/telephony/data/TrafficDescriptor$Builder;", "", ApiSince=37)>]
member this.SetConnectionCapability : int -> Android.Telephony.Data.TrafficDescriptor.Builder
Parameters
- connectionCapability
- Int32
The connection capability constant to set. Value is one of the following: TrafficDescriptor.CONNECTION_CAPABILITY_UNKNOWN; TrafficDescriptor.CONNECTION_CAPABILITY_IMS; TrafficDescriptor.CONNECTION_CAPABILITY_MMS; TrafficDescriptor.CONNECTION_CAPABILITY_SUPL; TrafficDescriptor.CONNECTION_CAPABILITY_INTERNET; TrafficDescriptor.CONNECTION_CAPABILITY_LCS_USER_PLANE_POSITIONING; TrafficDescriptor.CONNECTION_CAPABILITY_IOT_DELAY_TOLERANT; TrafficDescriptor.CONNECTION_CAPABILITY_IOT_NON_DELAY_TOLERANT; TrafficDescriptor.CONNECTION_CAPABILITY_DOWNLINK_STREAMING; TrafficDescriptor.CONNECTION_CAPABILITY_UPLINK_STREAMING; TrafficDescriptor.CONNECTION_CAPABILITY_VEHICULAR_COMMUNICATIONS; TrafficDescriptor.CONNECTION_CAPABILITY_REAL_TIME_INTERACTIVE; TrafficDescriptor.CONNECTION_CAPABILITY_UNIFIED_COMMUNICATIONS; TrafficDescriptor.CONNECTION_CAPABILITY_BACKGROUND; TrafficDescriptor.CONNECTION_CAPABILITY_MISSION_CRITICAL_COMMUNICATIONS; TrafficDescriptor.CONNECTION_CAPABILITY_TIME_CRITICAL_COMMUNICATIONS; TrafficDescriptor.CONNECTION_CAPABILITY_LOW_LATENCY_LOSS_TOLERANT_UNACK
Returns
The same instance of the builder. This value cannot be null.
- Attributes
Remarks
Set the connection capability of the traffic.
Android reference for android.telephony.data.TrafficDescriptor.Builder.setConnectionCapability.
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.