Idioma

TrafficDescriptor.Builder.SetConnectionCapability(Int32) Método

Definição

Defina a capacidade de conexão do tráfego.

[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

Parâmetros

connectionCapability
Int32

A constante de capacidade de conexão a ser definida. O valor é um dos seguintes: 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

Retornos

A mesma instância do construtor. Este valor não pode ser nulo.

Atributos

Comentários

Defina a capacidade de conexão do tráfego.

Referência do Android para android.telephony.data.TrafficDescriptor.Builder.setConnectionCapability.

Partes desta página são modificações baseadas no trabalho criado e compartilhado pelo Project Open Source do Open Source e usadas de acordo com os termos descritos na Creative Commons 2.5.

Aplica-se a