RecorderConfiguration Class¶
Description¶
RecorderConfiguration is startup configuration for Recorder .
Constructor¶
- C
void easyar_RecorderConfiguration__ctor(easyar_RecorderConfiguration * * Return)
- C++
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++
void setOutputFile(std::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++
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++
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++
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++
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++
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++
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++
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++
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)