TelephonyManager.PhoneCount プロパティ

定義

使用可能な電話の数を返します。

public virtual int PhoneCount { [Android.Runtime.Register("getPhoneCount", "()I", "GetGetPhoneCountHandler", ApiSince=23)] get; }
[<get: Android.Runtime.Register("getPhoneCount", "()I", "GetGetPhoneCountHandler", ApiSince=23)>]
member this.PhoneCount : int

プロパティ値

属性

注釈

使用可能な電話の数を返します。 音声、sms、データがサポートされていない場合は 0 を返します。シングル スタンバイ モードの場合は 1 を返します (単一 SIM 機能)。 デュアル スタンバイ モードの場合は 2 を返します (デュアル SIM 機能)。 トライ スタンバイ モード (Tri SIM 機能) の場合は 3 を返します。

このメンバーは非推奨とされます。 代わりに、#getActiveModemCount を使用してください。

の Java ドキュメント android.telephony.TelephonyManager.getPhoneCount()

このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。

適用対象