Bewerken

Delen via


AudioSession.AudioInputAvailable Property

Definition

Determines whether audio input is available.

[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.None, "AudioSession[Get|Set]Property are deprecated in iOS7")]
public static bool AudioInputAvailable { get; }
member this.AudioInputAvailable : bool

Property Value

Attributes

Remarks

This property determines whether input is available. Phones always have input available, while iPod Touch devices only have input available if a microphone or a headset with a microphone is plugged.

If there is an error reading or setting the property, this will raise an AudioSessionException.

Applies to