Android.Media.AudioManager.WiredHeadsetOn Property
Checks whether a wired headset is connected or not.

Syntax

[System.Obsolete("deprecated")]
[get: Android.Runtime.Register("isWiredHeadsetOn", "()Z", "GetIsWiredHeadsetOnHandler")]
[set: Android.Runtime.Register("setWiredHeadsetOn", "(Z)V", "GetSetWiredHeadsetOn_ZHandler")]
public virtual bool WiredHeadsetOn { get; set; }

Value

Documentation for this section has not yet been entered.

Remarks

Get method documentation [Android Documentation]

Checks whether a wired headset is connected or not. This is not a valid indication that audio playback is actually over the wired headset as audio routing depends on other conditions.

Set method documentation [Android Documentation]

Sets audio routing to the wired headset on or off.

Requirements

Namespace: Android.Media
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 5