RecorderConfiguration Class

Description

RecorderConfiguration is startup configuration for Recorder .

Constructor

C

void easyar_RecorderConfiguration__ctor(easyar_RecorderConfiguration * * Return)

C++17

RecorderConfiguration()

C++03

RecorderConfiguration()

Java

public RecorderConfiguration()

Kotlin

constructor()

Objective-C

+ (easyar_RecorderConfiguration *) create

Swift

public convenience init()

C#

public RecorderConfiguration()

setOutputFile

Sets absolute path for output video file.

C

void easyar_RecorderConfiguration_setOutputFile(easyar_RecorderConfiguration * This, easyar_String * path)

C++17

void setOutputFile(std::string path)

C++03

void setOutputFile(String * path)

Java

public void setOutputFile(java.lang.@Nonnull String path)

Kotlin

fun setOutputFile(path: String): Unit

Objective-C

- (void)setOutputFile:(NSString *)path

Swift

public func setOutputFile(_ path: String) -> Void

C#

public virtual void setOutputFile(string path)

setProfile

Sets recording profile. Default value is Quality_720P_Middle.

This is an all-in-one configuration, you can control in more advanced mode with other APIs.

C

bool easyar_RecorderConfiguration_setProfile(easyar_RecorderConfiguration * This, easyar_RecordProfile profile)

C++17

bool setProfile(RecordProfile profile)

C++03

bool setProfile(RecordProfile profile)

Java

public boolean setProfile(int profile)

Kotlin

fun setProfile(profile: Int): Boolean

Objective-C

- (bool)setProfile:(easyar_RecordProfile)profile

Swift

public func setProfile(_ profile: RecordProfile) -> Bool

C#

public virtual bool setProfile(RecordProfile profile)

setVideoSize

Sets recording video size. Default value is Vid720p.

C

void easyar_RecorderConfiguration_setVideoSize(easyar_RecorderConfiguration * This, easyar_RecordVideoSize framesize)

C++17

void setVideoSize(RecordVideoSize framesize)

C++03

void setVideoSize(RecordVideoSize framesize)

Java

public void setVideoSize(int framesize)

Kotlin

fun setVideoSize(framesize: Int): Unit

Objective-C

- (void)setVideoSize:(easyar_RecordVideoSize)framesize

Swift

public func setVideoSize(_ framesize: RecordVideoSize) -> Void

C#

public virtual void setVideoSize(RecordVideoSize framesize)

setVideoBitrate

Sets recording video bit rate. Default value is 2500000.

C

void easyar_RecorderConfiguration_setVideoBitrate(easyar_RecorderConfiguration * This, int bitrate)

C++17

void setVideoBitrate(int bitrate)

C++03

void setVideoBitrate(int bitrate)

Java

public void setVideoBitrate(int bitrate)

Kotlin

fun setVideoBitrate(bitrate: Int): Unit

Objective-C

- (void)setVideoBitrate:(int)bitrate

Swift

public func setVideoBitrate(_ bitrate: Int32) -> Void

C#

public virtual void setVideoBitrate(int bitrate)

setChannelCount

Sets recording audio channel count. Default value is 1.

C

void easyar_RecorderConfiguration_setChannelCount(easyar_RecorderConfiguration * This, int count)

C++17

void setChannelCount(int count)

C++03

void setChannelCount(int count)

Java

public void setChannelCount(int count)

Kotlin

fun setChannelCount(count: Int): Unit

Objective-C

- (void)setChannelCount:(int)count

Swift

public func setChannelCount(_ count: Int32) -> Void

C#

public virtual void setChannelCount(int count)

setAudioSampleRate

Sets recording audio sample rate. Default value is 44100.

C

void easyar_RecorderConfiguration_setAudioSampleRate(easyar_RecorderConfiguration * This, int samplerate)

C++17

void setAudioSampleRate(int samplerate)

C++03

void setAudioSampleRate(int samplerate)

Java

public void setAudioSampleRate(int samplerate)

Kotlin

fun setAudioSampleRate(samplerate: Int): Unit

Objective-C

- (void)setAudioSampleRate:(int)samplerate

Swift

public func setAudioSampleRate(_ samplerate: Int32) -> Void

C#

public virtual void setAudioSampleRate(int samplerate)

setAudioBitrate

Sets recording audio bit rate. Default value is 96000.

C

void easyar_RecorderConfiguration_setAudioBitrate(easyar_RecorderConfiguration * This, int bitrate)

C++17

void setAudioBitrate(int bitrate)

C++03

void setAudioBitrate(int bitrate)

Java

public void setAudioBitrate(int bitrate)

Kotlin

fun setAudioBitrate(bitrate: Int): Unit

Objective-C

- (void)setAudioBitrate:(int)bitrate

Swift

public func setAudioBitrate(_ bitrate: Int32) -> Void

C#

public virtual void setAudioBitrate(int bitrate)

setVideoOrientation

Sets recording video orientation. Default value is Landscape.

C

void easyar_RecorderConfiguration_setVideoOrientation(easyar_RecorderConfiguration * This, easyar_RecordVideoOrientation mode)

C++17

void setVideoOrientation(RecordVideoOrientation mode)

C++03

void setVideoOrientation(RecordVideoOrientation mode)

Java

public void setVideoOrientation(int mode)

Kotlin

fun setVideoOrientation(mode: Int): Unit

Objective-C

- (void)setVideoOrientation:(easyar_RecordVideoOrientation)mode

Swift

public func setVideoOrientation(_ mode: RecordVideoOrientation) -> Void

C#

public virtual void setVideoOrientation(RecordVideoOrientation mode)

setZoomMode

Sets recording zoom mode. Default value is NoZoomAndClip.

C

void easyar_RecorderConfiguration_setZoomMode(easyar_RecorderConfiguration * This, easyar_RecordZoomMode mode)

C++17

void setZoomMode(RecordZoomMode mode)

C++03

void setZoomMode(RecordZoomMode mode)

Java

public void setZoomMode(int mode)

Kotlin

fun setZoomMode(mode: Int): Unit

Objective-C

- (void)setZoomMode:(easyar_RecordZoomMode)mode

Swift

public func setZoomMode(_ mode: RecordZoomMode) -> Void

C#

public virtual void setZoomMode(RecordZoomMode mode)