ImsMmTelManager.IsVoWiFiSettingEnabled 属性

定义

public virtual bool IsVoWiFiSettingEnabled { [Android.Runtime.Register("isVoWiFiSettingEnabled", "()Z", "GetIsVoWiFiSettingEnabledHandler", ApiSince=30)] get; }
[<get: Android.Runtime.Register("isVoWiFiSettingEnabled", "()Z", "GetIsVoWiFiSettingEnabledHandler", ApiSince=30)>]
member this.IsVoWiFiSettingEnabled : bool

属性值

如果已启用用户对 Voice over WiFi 的设置,则为 true;如果未启用,则为 false。

        &lt;p&gt;This API requires one of the following:
        &lt;ul&gt;
            &lt;li&gt;The caller holds the READ_PRECISE_PHONE_STATE permission.&lt;/li&gt;
            &lt;li&gt;If the caller is the device or profile owner, the caller holds the
            <code data-dev-comment-type="c">Manifest.permission#READ_PRECISE_PHONE_STATE</code> permission.&lt;/li&gt;
            &lt;li&gt;The caller has carrier privileges (see
            <code data-dev-comment-type="c">android.telephony.TelephonyManager#hasCarrierPrivileges</code>) on any
            active subscription.&lt;/li&gt;
        &lt;/ul&gt;
        &lt;p&gt;The profile owner is an app that owns a managed profile on the device; for more details
        see <a href="https://developer.android.com/work/managed-profiles">Work profiles</a>.
        Access by profile owners is deprecated and will be removed in a future release.
属性

注解

适用于 . 的 android.telephony.ims.ImsMmTelManager.isVoWiFiSettingEnabled()Java 文档

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于