다음을 통해 공유


TelephonyManager.IsVoiceCapable Property

Definition

This member is deprecated.

public virtual bool IsVoiceCapable { [Android.Runtime.Register("isVoiceCapable", "()Z", "GetIsVoiceCapableHandler", ApiSince=22)] get; }
[<get: Android.Runtime.Register("isVoiceCapable", "()Z", "GetIsVoiceCapableHandler", ApiSince=22)>]
member this.IsVoiceCapable : bool

Property Value

true if the current device is "voice capable". <p> "Voice capable" means that this device supports circuit-switched (i.e. voice) phone calls over the telephony network, and is allowed to display the in-call UI while a cellular voice call is active. This will be false on "data only" devices which can't make voice calls and don't support any in-call UI. <p> Note: the meaning of this flag is subtly different from the PackageManager.FEATURE_TELEPHONY system feature, which is available on any device with a telephony radio, even if the device is data-only.

Attributes

Remarks

This member is deprecated. Replaced by #isDeviceVoiceCapable(). Starting from Android 15, voice capability may also be overridden by carriers for a given subscription. For voice capable device (when #isDeviceVoiceCapable return true), caller should check for subscription-level voice capability as well. See #isDeviceVoiceCapable for details.

Java documentation for android.telephony.TelephonyManager.isVoiceCapable().

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.

Applies to