availableInputsChangeNotification
TypeScriptstatic get availableInputsChangeNotification(): _Foundation_NSNotification_NameSwift declarationclass let availableInputsChangeNotification: NSNotification.Nameclass · iOS 3.0+ · SDK 27.1
class AVAudioSessionstatic get availableInputsChangeNotification(): _Foundation_NSNotification_NameSwift declarationclass let availableInputsChangeNotification: NSNotification.Namestatic get deactivationContextKey(): stringSwift declarationclass let deactivationContextKey: Stringstatic get didBecomeActiveNotification(): _Foundation_NSNotification_NameSwift declarationclass let didBecomeActiveNotification: NSNotification.Namestatic get didBecomeInactiveNotification(): _Foundation_NSNotification_NameSwift declarationclass let didBecomeInactiveNotification: NSNotification.Namestatic get interruptionNotification(): _Foundation_NSNotification_NameSwift declarationclass let interruptionNotification: NSNotification.Namestatic get mediaServicesWereLostNotification(): _Foundation_NSNotification_NameSwift declarationclass let mediaServicesWereLostNotification: NSNotification.Namestatic get mediaServicesWereResetNotification(): _Foundation_NSNotification_NameSwift declarationclass let mediaServicesWereResetNotification: NSNotification.Namestatic get microphoneInjectionCapabilitiesChangeNotification(): _Foundation_NSNotification_NameSwift declarationclass let microphoneInjectionCapabilitiesChangeNotification: NSNotification.Namestatic get muteStateKey(): stringSwift declarationclass let muteStateKey: Stringstatic get outputMuteStateChangeNotification(): _Foundation_NSNotification_NameSwift declarationclass let outputMuteStateChangeNotification: NSNotification.Namestatic get renderingCapabilitiesChangeNotification(): _Foundation_NSNotification_NameSwift declarationclass let renderingCapabilitiesChangeNotification: NSNotification.Namestatic get renderingModeChangeNotification(): _Foundation_NSNotification_NameSwift declarationclass let renderingModeChangeNotification: NSNotification.Namestatic get resumptionContextKey(): stringSwift declarationclass let resumptionContextKey: Stringstatic get resumptionRecommendationNotification(): _Foundation_NSNotification_NameSwift declarationclass let resumptionRecommendationNotification: NSNotification.Namestatic get routeChangeNotification(): _Foundation_NSNotification_NameSwift declarationclass let routeChangeNotification: NSNotification.Namestatic get silenceSecondaryAudioHintNotification(): _Foundation_NSNotification_NameSwift declarationclass let silenceSecondaryAudioHintNotification: NSNotification.Namestatic get spatialPlaybackCapabilitiesChangedNotification(): _Foundation_NSNotification_NameSwift declarationclass let spatialPlaybackCapabilitiesChangedNotification: NSNotification.Namestatic get userIntentToUnmuteOutputNotification(): _Foundation_NSNotification_NameSwift declarationclass let userIntentToUnmuteOutputNotification: NSNotification.Namestatic sharedInstance(): AVAudioSessionSwift declarationclass func sharedInstance() -> AVAudioSessionactivate(options: AVAudioSessionActivationOptions, handler: ((arg0: boolean, arg1: (NativeError) | null) => void)): voidSwift declarationfunc activate(options: AVAudioSessionActivationOptions = []) async throws -> Booldeactivate(options: AVAudioSessionDeactivationOptions, handler: ((arg0: boolean, arg1: (NativeError) | null) => void)): voidSwift declarationfunc deactivate(options: AVAudioSessionDeactivationOptions = []) async throws -> Boolstatic init(): AVAudioSessionSwift declarationinit()overrideOutputAudioPort(portOverride: AVAudioSession_PortOverride): voidSwift declarationfunc overrideOutputAudioPort(_ portOverride: AVAudioSession.PortOverride) throwsrequestRecordPermission(response: ((arg0: boolean) => void)): voidSwift declarationfunc requestRecordPermission(_ response: @escaping (Bool) -> Void)setActive(active: boolean, options?: AVAudioSession_SetActiveOptions): voidSwift declarationfunc setActive(_ active: Bool, options: AVAudioSession.SetActiveOptions = []) throwssetAggregatedIOPreference(inIOType: AVAudioSession_IOType): voidSwift declarationfunc setAggregatedIOPreference(_ inIOType: AVAudioSession.IOType) throwssetAllowHapticsAndSystemSoundsDuringRecording(inValue: boolean): voidSwift declarationfunc setAllowHapticsAndSystemSoundsDuringRecording(_ inValue: Bool) throwssetCategory(category: AVAudioSession_Category): voidSwift declarationfunc setCategory(_ category: AVAudioSession.Category) throwssetCategoryModeOptions(category: AVAudioSession_Category, mode: AVAudioSession_Mode, options?: AVAudioSession_CategoryOptions): voidSwift declarationfunc setCategory(_ category: AVAudioSession.Category, mode: AVAudioSession.Mode, options: AVAudioSession.CategoryOptions = []) throwssetCategoryModePolicyOptions(category: AVAudioSession_Category, mode: AVAudioSession_Mode, policy: AVAudioSession_RouteSharingPolicy, options?: AVAudioSession_CategoryOptions): voidSwift declarationfunc setCategory(_ category: AVAudioSession.Category, mode: AVAudioSession.Mode, policy: AVAudioSession.RouteSharingPolicy, options: AVAudioSession.CategoryOptions = []) throwssetCategoryOptions(category: AVAudioSession_Category, options?: AVAudioSession_CategoryOptions): voidSwift declarationfunc setCategory(_ category: AVAudioSession.Category, options: AVAudioSession.CategoryOptions = []) throwssetInputDataSource(dataSource?: (AVAudioSessionDataSourceDescription) | null): voidSwift declarationfunc setInputDataSource(_ dataSource: AVAudioSessionDataSourceDescription?) throwssetInputGain(gain: number): voidSwift declarationfunc setInputGain(_ gain: Float) throwssetMode(mode: AVAudioSession_Mode): voidSwift declarationfunc setMode(_ mode: AVAudioSession.Mode) throwssetOutputDataSource(dataSource?: (AVAudioSessionDataSourceDescription) | null): voidSwift declarationfunc setOutputDataSource(_ dataSource: AVAudioSessionDataSourceDescription?) throwssetOutputMuted(muted: boolean): voidSwift declarationfunc setOutputMuted(_ muted: Bool) throwssetPreferredIOBufferDuration(duration: number): voidSwift declarationfunc setPreferredIOBufferDuration(_ duration: TimeInterval) throwssetPreferredInput(inPort?: (AVAudioSessionPortDescription) | null): voidSwift declarationfunc setPreferredInput(_ inPort: AVAudioSessionPortDescription?) throwssetPreferredInputNumberOfChannels(count: number): voidSwift declarationfunc setPreferredInputNumberOfChannels(_ count: Int) throwssetPreferredInputOrientation(orientation: AVAudioSession_StereoOrientation): voidSwift declarationfunc setPreferredInputOrientation(_ orientation: AVAudioSession.StereoOrientation) throwssetPreferredMicrophoneInjectionMode(inValue: AVAudioSession_MicrophoneInjectionMode): voidSwift declarationfunc setPreferredMicrophoneInjectionMode(_ inValue: AVAudioSession.MicrophoneInjectionMode) throwssetPreferredOutputNumberOfChannels(count: number): voidSwift declarationfunc setPreferredOutputNumberOfChannels(_ count: Int) throwssetPreferredSampleRate(sampleRate: number): voidSwift declarationfunc setPreferredSampleRate(_ sampleRate: Double) throwssetPrefersEchoCancelledInput(value: boolean): voidSwift declarationfunc setPrefersEchoCancelledInput(_ value: Bool) throwssetPrefersInterruptionOnRouteDisconnect(inValue: boolean): voidSwift declarationfunc setPrefersInterruptionOnRouteDisconnect(_ inValue: Bool) throwssetPrefersNoInterruptionsFromSystemAlerts(inValue: boolean): voidSwift declarationfunc setPrefersNoInterruptionsFromSystemAlerts(_ inValue: Bool) throwssetSupportsMultichannelContent(inValue: boolean): voidSwift declarationfunc setSupportsMultichannelContent(_ inValue: Bool) throwsget ioBufferDuration(): numberSwift declarationvar ioBufferDuration: TimeInterval { get }get allowHapticsAndSystemSoundsDuringRecording(): booleanSwift declarationvar allowHapticsAndSystemSoundsDuringRecording: Bool { get }get availableCategories(): Array<AVAudioSession_Category>Swift declarationvar availableCategories: [AVAudioSession.Category] { get }get availableInputs(): (Array<AVAudioSessionPortDescription>) | nullSwift declarationvar availableInputs: [AVAudioSessionPortDescription]? { get }get availableModes(): Array<AVAudioSession_Mode>Swift declarationvar availableModes: [AVAudioSession.Mode] { get }get category(): AVAudioSession_CategorySwift declarationvar category: AVAudioSession.Category { get }get categoryOptions(): AVAudioSession_CategoryOptionsSwift declarationvar categoryOptions: AVAudioSession.CategoryOptions { get }get currentRoute(): AVAudioSessionRouteDescriptionSwift declarationvar currentRoute: AVAudioSessionRouteDescription { get }get isInputAvailable(): booleanSwift declarationvar isInputAvailable: Bool { get }get inputDataSource(): (AVAudioSessionDataSourceDescription) | nullSwift declarationvar inputDataSource: AVAudioSessionDataSourceDescription? { get }get inputDataSources(): (Array<AVAudioSessionDataSourceDescription>) | nullSwift declarationvar inputDataSources: [AVAudioSessionDataSourceDescription]? { get }get inputGain(): numberSwift declarationvar inputGain: Float { get }get isInputGainSettable(): booleanSwift declarationvar isInputGainSettable: Bool { get }get inputLatency(): numberSwift declarationvar inputLatency: TimeInterval { get }get inputNumberOfChannels(): numberSwift declarationvar inputNumberOfChannels: Int { get }get inputOrientation(): AVAudioSession_StereoOrientationSwift declarationvar inputOrientation: AVAudioSession.StereoOrientation { get }get isEchoCancelledInputAvailable(): booleanSwift declarationvar isEchoCancelledInputAvailable: Bool { get }get isEchoCancelledInputEnabled(): booleanSwift declarationvar isEchoCancelledInputEnabled: Bool { get }get isMicrophoneInjectionAvailable(): booleanSwift declarationvar isMicrophoneInjectionAvailable: Bool { get }get maximumInputNumberOfChannels(): numberSwift declarationvar maximumInputNumberOfChannels: Int { get }get maximumOutputNumberOfChannels(): numberSwift declarationvar maximumOutputNumberOfChannels: Int { get }get mode(): AVAudioSession_ModeSwift declarationvar mode: AVAudioSession.Mode { get }get isOtherAudioPlaying(): booleanSwift declarationvar isOtherAudioPlaying: Bool { get }get outputDataSource(): (AVAudioSessionDataSourceDescription) | nullSwift declarationvar outputDataSource: AVAudioSessionDataSourceDescription? { get }get outputDataSources(): (Array<AVAudioSessionDataSourceDescription>) | nullSwift declarationvar outputDataSources: [AVAudioSessionDataSourceDescription]? { get }get outputLatency(): numberSwift declarationvar outputLatency: TimeInterval { get }get isOutputMuted(): booleanSwift declarationvar isOutputMuted: Bool { get }get outputNumberOfChannels(): numberSwift declarationvar outputNumberOfChannels: Int { get }get outputVolume(): numberSwift declarationvar outputVolume: Float { get }get preferredIOBufferDuration(): numberSwift declarationvar preferredIOBufferDuration: TimeInterval { get }get preferredInput(): (AVAudioSessionPortDescription) | nullSwift declarationvar preferredInput: AVAudioSessionPortDescription? { get }get preferredInputNumberOfChannels(): numberSwift declarationvar preferredInputNumberOfChannels: Int { get }get preferredInputOrientation(): AVAudioSession_StereoOrientationSwift declarationvar preferredInputOrientation: AVAudioSession.StereoOrientation { get }get preferredMicrophoneInjectionMode(): AVAudioSession_MicrophoneInjectionModeSwift declarationvar preferredMicrophoneInjectionMode: AVAudioSession.MicrophoneInjectionMode { get }get preferredOutputNumberOfChannels(): numberSwift declarationvar preferredOutputNumberOfChannels: Int { get }get preferredSampleRate(): numberSwift declarationvar preferredSampleRate: Double { get }get prefersEchoCancelledInput(): booleanSwift declarationvar prefersEchoCancelledInput: Bool { get }get prefersInterruptionOnRouteDisconnect(): booleanSwift declarationvar prefersInterruptionOnRouteDisconnect: Bool { get }get prefersNoInterruptionsFromSystemAlerts(): booleanSwift declarationvar prefersNoInterruptionsFromSystemAlerts: Bool { get }get promptStyle(): AVAudioSession_PromptStyleSwift declarationvar promptStyle: AVAudioSession.PromptStyle { get }get recordPermission(): AVAudioSession_RecordPermissionSwift declarationvar recordPermission: AVAudioSession.RecordPermission { get }get renderingMode(): AVAudioSession_RenderingModeSwift declarationvar renderingMode: AVAudioSession.RenderingMode { get }get routeSharingPolicy(): AVAudioSession_RouteSharingPolicySwift declarationvar routeSharingPolicy: AVAudioSession.RouteSharingPolicy { get }get sampleRate(): numberSwift declarationvar sampleRate: Double { get }get secondaryAudioShouldBeSilencedHint(): booleanSwift declarationvar secondaryAudioShouldBeSilencedHint: Bool { get }get supportedOutputChannelLayouts(): Array<AVAudioChannelLayout>Swift declarationvar supportedOutputChannelLayouts: [AVAudioChannelLayout] { get }get supportsMultichannelContent(): booleanSwift declarationvar supportsMultichannelContent: Bool { get }No declarations were skipped in this snapshot.