Lingua

TelephonyManager.CurrentTtyMode Property

Definition

Returns the current TTY mode of the device.

public virtual int CurrentTtyMode { [Android.Runtime.Register("getCurrentTtyMode", "()I", "GetGetCurrentTtyModeHandler", ApiSince=37)] [Android.Runtime.RequiresPermission("android.permission.READ_PRIVILEGED_PHONE_STATE")] get; }
[<get: Android.Runtime.Register("getCurrentTtyMode", "()I", "GetGetCurrentTtyModeHandler", ApiSince=37)>]
[<get: Android.Runtime.RequiresPermission("android.permission.READ_PRIVILEGED_PHONE_STATE")>]
member this.CurrentTtyMode : int

Property Value

Value is one of the following: TTY_MODE_OFF; TTY_MODE_FULL; TTY_MODE_HCO; TTY_MODE_VCO

Attributes

Remarks

Returns the current TTY mode of the device. For TTY to be on the user must enable it in settings and have a wired headset plugged in. Requires the PackageManager#FEATURE_TELEPHONY_CALLING feature which can be detected using PackageManager.hasSystemFeature(String). Requires android.Manifest.permission.READ_PRIVILEGED_PHONE_STATE

Android reference for android.telephony.TelephonyManager.getCurrentTtyMode.

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