共用方式為


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

屬性值

true 是表示 如果使用者的 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 屬性授權中所述的詞彙使用。

適用於