TrafficDescriptor.Builder.SetConnectionCapability(Int32) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
設定流量的連線能力。
[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
參數
- connectionCapability
- Int32
連線能力必須設定為常數。 價值是以下之一: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
傳回
同樣的建築師實例。 這個值不可能為零值。
- 屬性
備註
設定流量的連線能力。
Android 參考資料。android.telephony.data.TrafficDescriptor.Builder.setConnectionCapability
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。