共用方式為


ImsMmTelManager.IsVtSettingEnabled Property

Definition

The user's setting for whether or not they have enabled the "Video Calling" setting.

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

Property Value

true if the user’s “Video Calling” setting is currently enabled.

Attributes

Remarks

The user's setting for whether or not they have enabled the "Video Calling" setting.

Note: If the carrier configuration for advanced calling is not editable or hidden, this method will always return the default value.

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

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