AVAudioSession
Notifications
AVAudioSession(IntPtr)
AVAudioSession(NativeHandle)
AVAudioSession(NSObjectFlag)
AllowHapticsAndSystemSoundsDuringRecording
AvailableCategories
AvailableInputs
AvailableModes
Category
CategoryAmbient
CategoryAudioProcessing
CategoryMultiRoute
CategoryOptions
CategoryPlayAndRecord
CategoryPlayback
CategoryRecord
CategorySoloAmbient
ClassHandle
CurrentHardwareInputNumberOfChannels
CurrentHardwareOutputNumberOfChannels
CurrentHardwareSampleRate
CurrentRoute
Delegate
InputAvailable
InputDataSource
InputDataSources
InputGain
InputGainSettable
InputIsAvailable
InputLatency
InputNumberOfChannels
InputOrientation
InterruptionNotification
IOBufferDuration
MaximumInputNumberOfChannels
MaximumOutputNumberOfChannels
MediaServicesWereLostNotification
MediaServicesWereResetNotification
Mode
ModeDefault
ModeGameChat
ModeMeasurement
ModeMoviePlayback
ModeSpokenAudio
ModeVideoChat
ModeVideoRecording
ModeVoiceChat
OrientationLeft
OrientationRight
OtherAudioPlaying
OutputDataSource
OutputDataSources
OutputLatency
OutputNumberOfChannels
OutputVolume
PolarPatternStereo
PortAirPlay
PortAvb
PortBluetoothA2DP
PortBluetoothHfp
PortBluetoothLE
PortBuiltInMic
PortBuiltInReceiver
PortBuiltInSpeaker
PortCarAudio
PortDisplayPort
PortFireWire
PortHdmi
PortHeadphones
PortHeadsetMic
PortLineIn
PortLineOut
PortPci
PortThunderbolt
PortUsbAudio
PortVirtual
PreferredHardwareSampleRate
PreferredInput
PreferredInputOrientation
PreferredIOBufferDuration
PreferredSampleRate
PrefersNoInterruptionsFromSystemAlerts
PromptStyle
RecordPermission
RenderingCapabilitiesChangeNotification
RenderingMode
RenderingModeChangeNotification
RouteChangeNotification
RouteSharingPolicy
SampleRate
SecondaryAudioShouldBeSilencedHint
SilenceSecondaryAudioHintNotification
SpatialPlaybackCapabilitiesChangedNotification
SupportedOutputChannelLayouts
SupportsMultichannelContent
VoicePrompt
WeakDelegate
Activate(AVAudioSessionActivationOptions, Action<Boolean, NSError>)
ActivateAsync(AVAudioSessionActivationOptions)
Dispose(Boolean)
GetPreferredInputNumberOfChannels()
GetPreferredOutputNumberOfChannels()
OverrideOutputAudioPort(AVAudioSessionPortOverride, NSError)
RequestRecordPermission(AVPermissionGranted)
SetActive(Boolean)
SetActive(Boolean, AVAudioSessionSetActiveOptions)
SetActive(Boolean, NSError)
SetActive(Boolean, AVAudioSessionFlags, NSError)
SetActive(Boolean, AVAudioSessionSetActiveOptions, NSError)
SetAggregatedIOPreference(AVAudioSessionIOType, NSError)
SetAllowHapticsAndSystemSoundsDuringRecording(Boolean, NSError)
SetCategory(AVAudioSessionCategory)
SetCategory(NSString)
SetCategory(AVAudioSessionCategory, AVAudioSessionCategoryOptions)
SetCategory(NSString, NSError)
SetCategory(AVAudioSessionCategory, AVAudioSessionCategoryOptions, NSError)
SetCategory(AVAudioSessionCategory, AVAudioSessionMode, AVAudioSessionCategoryOptions)
SetCategory(AVAudioSessionCategory, String, AVAudioSessionCategoryOptions)
SetCategory(String, AVAudioSessionCategoryOptions, NSError)
SetCategory(AVAudioSessionCategory, AVAudioSessionMode, AVAudioSessionCategoryOptions, NSError)
SetCategory(AVAudioSessionCategory, String, AVAudioSessionCategoryOptions, NSError)
SetCategory(String, String, AVAudioSessionCategoryOptions, NSError)
SetCategory(AVAudioSessionCategory, AVAudioSessionMode, AVAudioSessionRouteSharingPolicy, AVAudioSessionCategoryOptions, NSError)
SetCategory(AVAudioSessionCategory, String, AVAudioSessionRouteSharingPolicy, AVAudioSessionCategoryOptions, NSError)
SetCategory(String, String, AVAudioSessionRouteSharingPolicy, AVAudioSessionCategoryOptions, NSError)
SetInputDataSource(AVAudioSessionDataSourceDescription, NSError)
SetInputGain(Single, NSError)
SetMode(AVAudioSessionMode, NSError)
SetMode(NSString, NSError)
SetOutputDataSource(AVAudioSessionDataSourceDescription, NSError)
SetPreferredHardwareSampleRate(Double, NSError)
SetPreferredInput(AVAudioSessionPortDescription, NSError)
SetPreferredInputNumberOfChannels(nint, NSError)
SetPreferredInputNumberOfChannels(nint, NSError)
SetPreferredInputOrientation(AVAudioStereoOrientation, NSError)
SetPreferredIOBufferDuration(Double, NSError)
SetPreferredOutputNumberOfChannels(nint, NSError)
SetPreferredOutputNumberOfChannels(nint, NSError)
SetPreferredSampleRate(Double, NSError)
SetPrefersNoInterruptionsFromSystemAlerts(Boolean, NSError)
SetSupportsMultichannelContent(Boolean, NSError)
SharedInstance()
BeginInterruption
CategoryChanged
EndInterruption
InputAvailabilityChanged
InputChannelsChanged
OutputChannelsChanged
SampleRateChanged
PrepareRouteSelectionForPlayback(AVAudioSession, Action<Boolean, AVAudioSessionRouteSelection>)
PrepareRouteSelectionForPlaybackAsync(AVAudioSession)
net9.0-ios17.2
namespace AVFoundation
{
[Register("AVAudioSession", true)]
[SupportedOSPlatform("macos11.0")]
[SupportedOSPlatform("maccatalyst")]
[SupportedOSPlatform("ios")]
[SupportedOSPlatform("tvos")]
public class AVAudioSession : NSObject
{
[Advice("Use AVAudioSession.Notifications.ObserveMediaServicesWereReset helper method instead.")]
[Field("AVAudioSessionMediaServicesWereResetNotification", "AVFoundation")]
public static NSString! MediaServicesWereResetNotification { get; }
}
}
.NET | 6.07.08.09.0 |
---|---|
Information specific to net9.0 | |
Platforms | This API is only available when you target a specific platform: |
iOS | 10.010.110.210.311.011.111.211.311.412.012.112.212.312.413.013.113.213.313.413.513.614.014.114.214.314.414.515.015.215.416.016.116.216.417.017.2 |
Mac Catalyst | 13.113.213.313.413.514.214.314.414.515.015.215.416.116.216.417.017.2 |
macOS | 10.1410.1510.1611.011.111.211.312.012.112.313.013.113.314.014.2 |
tvOS | 10.010.110.211.011.111.211.311.412.012.112.212.312.413.013.213.313.414.014.214.314.414.515.015.215.416.016.116.417.017.2 |
Information specific to net9.0-ios17.2 | |
Assembly | Microsoft.iOS , Version=17.2.0.0, PublicKeyToken=84e04ff9cfb79065 |
Referencing | The API is automatically referenced. |
Platform Restrictions | The property getter is only supported on the following platforms:
|
- Built-in API
- Package-provided API