Share via


ImsMmTelManager.VoWiFiModeSetting Property

Definition

Returns the user's voice over WiFi Roaming mode setting associated with the device.

public virtual int VoWiFiModeSetting { [Android.Runtime.Register("getVoWiFiModeSetting", "()I", "GetGetVoWiFiModeSettingHandler", ApiSince=30)] get; }
[<get: Android.Runtime.Register("getVoWiFiModeSetting", "()I", "GetGetVoWiFiModeSettingHandler", ApiSince=30)>]
member this.VoWiFiModeSetting : int

Property Value

The Voice over WiFi Mode preference set by the user, which can be one of the following: - #WIFI_MODE_WIFI_ONLY - #WIFI_MODE_CELLULAR_PREFERRED - #WIFI_MODE_WIFI_PREFERRED

Attributes

Remarks

Returns the user's voice over WiFi Roaming mode setting associated with the device.

This API requires one of the following: <ul> <li>The caller holds the READ_PRECISE_PHONE_STATE permission.</li> <li>If the caller is the device or profile owner, the caller holds the Manifest.permission#READ_PRECISE_PHONE_STATE permission.</li> <li>The caller has carrier privileges (see android.telephony.TelephonyManager#hasCarrierPrivileges) on any active subscription.</li> </ul>

The profile owner is an app that owns a managed profile on the device; for more details see Work profiles. Access by profile owners is deprecated and will be removed in a future release.

Java documentation for android.telephony.ims.ImsMmTelManager.getVoWiFiModeSetting().

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