RSDRecorderConfiguration
public protocol RSDRecorderConfiguration : RSDAsyncActionConfiguration
RSDRecorderConfiguration
is used to configure a recorder. For example, recording accelerometer data
or video.
-
An identifier marking the step at which to stop the action. If
nil
, then the action will be stopped when the task is stopped.Declaration
Swift
var stopStepIdentifier: String? { get }
-
Whether or not the recorder requires background audio. Default =
false
.If
true
then background audio can be used to keep the recorder running if the screen is locked because of the idle timer turning off the device screen.If the app uses background audio, then the developer will need to turn
ON
theBackground Modes
under theCapabilities
tab of the Xcode project, and will need to selectAudio, AirPlay, and Picture in Picture
.Declaration
Swift
var requiresBackgroundAudio: Bool { get }