共用方式為


TelephonyManager.IsDeviceVoiceCapable Property

Definition

public virtual bool IsDeviceVoiceCapable { [Android.Runtime.Register("isDeviceVoiceCapable", "()Z", "GetIsDeviceVoiceCapableHandler", ApiSince=35)] get; }
[<get: Android.Runtime.Register("isDeviceVoiceCapable", "()Z", "GetIsDeviceVoiceCapableHandler", ApiSince=35)>]
member this.IsDeviceVoiceCapable : bool

Property Value

true if the current device is "voice capable". <p> "Voice capable" means that this device supports circuit-switched or IMS packet 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. <p> Starting from Android 15, voice capability may also be overridden by carrier for a given subscription on a voice capable device. To check if a subscription is "voice capable", call method SubscriptionInfo#getServiceCapabilities() and check if SubscriptionManager#SERVICE_CAPABILITY_VOICE is included.

Attributes

Remarks

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

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