Udostępnij za pośrednictwem


ImsMmTelManager.IsVoWiFiRoamingSettingEnabled Property

Definition

Returns the user's voice over WiFi roaming setting associated with the current subscription.

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

Property Value

true if the user's setting for Voice over WiFi while roaming is enabled, false if disabled.

Attributes

Remarks

Returns the user's voice over WiFi roaming setting associated with the current subscription.

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.isVoWiFiRoamingSettingEnabled().

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