SKMicrophoneConfiguration Class Reference

Inherits from SKConfiguration : NSObject
Conforms to NSCopying
Declared in SKMicrophoneConfiguration.h

Overview

An instance of SKMicrophoneConfiguration can be used to configure the Microphone sensor.

– initWithOutputDirectory:withFilename:

Returns an SKMicrophoneConfiguration object, initialized with the path of the directory, as well as the filename that the recording will be stored.

- (instancetype)initWithOutputDirectory:(NSURL *)outputDirectory withFilename:(NSString *)filename

Parameters

outputDirectory

Path of the directory that the recording will be stored.

filename

A string with the desired filename of the recording, without the extension. Extension will be provided automatically based on the recordingFormat.

Return Value

A new SKMicrophoneConfiguration object.

Declared In

SKMicrophoneConfiguration.h

  outputDirectory

Path of the directory that the recording will be stored.

@property (nonatomic, copy) NSURL *outputDirectory

Declared In

SKMicrophoneConfiguration.h

  filename

A string with the desired filename of the recording, without the extension. Extension will be provided automatically based on the recordingFormat.

@property (nonatomic, copy) NSString *filename

Declared In

SKMicrophoneConfiguration.h

  recordingPath

A read-only property that returns the full path of the recording filename.

@property (nonatomic, copy, readonly) NSURL *recordingPath

Declared In

SKMicrophoneConfiguration.h

  recordingFormat

Recording format of the Microphone sensor.

@property (nonatomic) SKMicrophoneRecordingFormat recordingFormat

Declared In

SKMicrophoneConfiguration.h

  recordingQuality

Recording quality of the Microphone sensor.

@property (nonatomic) SKMicrophoneRecordingQuality recordingQuality

Declared In

SKMicrophoneConfiguration.h

  sampleRate

The audio format sampling rate in hertz.

@property (nonatomic) float sampleRate

Declared In

SKMicrophoneConfiguration.h