Recorder
public class Recorder : LinphoneObject
Object used to record the audio or video of a call.
-
Declaration
Swift
public static func getSwiftObject(cObject: OpaquePointer) -> Recorder -
Declaration
Swift
public var getCobject: OpaquePointer? { get } -
Get linear volume when capturing audio.
Declaration
Swift
public var captureVolume: Float { get }Return Value
Linear volume.
-
Gets the duration of the recording.
Declaration
Swift
public var duration: Int { get }Return Value
the duration of the recording, in milliseconds.
-
Gets the file used for recording.
Declaration
Swift
public var file: String { get }Return Value
the file used for the recording if any.
-
Set the
RecorderParamsobject.Declaration
Swift
public var params: RecorderParams? { get set }Return Value
The
RecorderParamsobject. -
Gets the current state of the recorder.
Declaration
Swift
public var state: RecorderState { get }Return Value
the current
RecorderState. -
Set the user data.
Declaration
Swift
public var userData: UnsafeMutableRawPointer? { get set }Return Value
the user data to retrieve.
-
Close the opened file.
Declaration
Swift
public func close() -
Open a file for recording.
Declaration
Swift
public func open(file: String) throwsParameters
fileThe path to the file to open.
-
Pause the recording.
Declaration
Swift
public func pause() throws -
Start the recording into the opened file.
Declaration
Swift
public func start() throws
Recorder Class Reference