AVAudioSessionDataSourceDescription Class Reference

Inherits from
Conforms to
Framework
/System/Library/Frameworks/AVFoundation.framework
Availability
Available in iOS 6.0 and later.
Declared in
AVAudioSession.h

Overview

The AVAudioSessionDataSourceDescription class provides descriptive information about a data source for an AVAudioSession object. Certain accessories, such as some USB audio devices, support data source selection and this class is used to encapsulate each inidividual data source.

Tasks

Getting the Data Source Information

Properties

dataSourceID

The system-assigned identifier for the data source. (read-only)

@property(readonly) NSNumber *dataSourceID
Discussion

You can use the value of this property to assign a specific data source to some input or output within an audio session.

Availability
  • Available in iOS 6.0 and later.
Declared In
AVAudioSession.h

dataSourceName

A human-readable name for the data source. (read-only)

@property(readonly) NSString *dataSourceName
Discussion

Availability
  • Available in iOS 6.0 and later.
Declared In
AVAudioSession.h

Did this document help you? Yes It's good, but... Not helpful...