語言

PreciseDataConnectionState.Id 屬性

定義

取得資料連線的識別碼。

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

屬性值

資料連線的唯一 ID

        Note this is the id assigned by the data service.
        The id remains the same for data connection handover between
        <code data-dev-comment-type="c">AccessNetworkConstants#TRANSPORT_TYPE_WLAN</code> and
        <code data-dev-comment-type="c">AccessNetworkConstants#TRANSPORT_TYPE_WWAN</code>
屬性

備註

Java 文件 android.telephony.PreciseDataConnectionState.getId()。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於