YMAAudioSessionManager

Objective-C

@interface YMAAudioSessionManager : NSObject

Swift

class YMAAudioSessionManager : NSObject

A class for working with audio sessions.

  1. Properties
  2. delegate
  3. isAutomaticallyManaged

Properties

delegate

An object that implements the YMAAudioSessionManagerDelegate protocol that tracks audio sessions and receives event notifications.

Declaration

Objective-C

@property (nonatomic, weak, nullable) id<YMAAudioSessionManagerDelegate> delegate;

isAutomaticallyManaged

A property that indicates whether the app will manage the audio session.

Declaration

Objective-C

@property (nonatomic) BOOL isAutomaticallyManaged;

Swift

var isAutomaticallyManaged: Bool { get set }