SKMicrophoneConfiguration Class Reference
| Inherits from | SKConfiguration : NSObject |
|---|---|
| Conforms to | NSCopying |
| Declared in | SKMicrophoneConfiguration.h |
– 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 *)filenameParameters
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 *outputDirectoryDeclared 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 *filenameDeclared In
SKMicrophoneConfiguration.h
recordingPath
A read-only property that returns the full path of the recording filename.
@property (nonatomic, copy, readonly) NSURL *recordingPathDeclared In
SKMicrophoneConfiguration.h
recordingFormat
Recording format of the Microphone sensor.
@property (nonatomic) SKMicrophoneRecordingFormat recordingFormatDeclared In
SKMicrophoneConfiguration.h
recordingQuality
Recording quality of the Microphone sensor.
@property (nonatomic) SKMicrophoneRecordingQuality recordingQualityDeclared In
SKMicrophoneConfiguration.h
sampleRate
The audio format sampling rate in hertz.
@property (nonatomic) float sampleRateDeclared In
SKMicrophoneConfiguration.h