InputFrameRecorder Class

Description

Input frame recorder.

There is an input frame input port and an input frame output port. It can be used to record input frames into an EIF file. Refer to Overview .

All members of this class is thread-safe.

input

Input port.

C

void easyar_InputFrameRecorder_input(easyar_InputFrameRecorder * This, easyar_InputFrameSink * * Return)

C++

std::shared_ptr<InputFrameSink> input()

Java

public @Nonnull InputFrameSink input()

Kotlin

fun input(): InputFrameSink

Objective-C

- (easyar_InputFrameSink *)input

Swift

public func input() -> InputFrameSink

C#

public virtual InputFrameSink input()

bufferRequirement

Camera buffers occupied in this component.

C

int easyar_InputFrameRecorder_bufferRequirement(easyar_InputFrameRecorder * This)

C++

int bufferRequirement()

Java

public int bufferRequirement()

Kotlin

fun bufferRequirement(): Int

Objective-C

- (int)bufferRequirement

Swift

public func bufferRequirement() -> Int32

C#

public virtual int bufferRequirement()

output

Output port.

C

void easyar_InputFrameRecorder_output(easyar_InputFrameRecorder * This, easyar_InputFrameSource * * Return)

C++

std::shared_ptr<InputFrameSource> output()

Java

public @Nonnull InputFrameSource output()

Kotlin

fun output(): InputFrameSource

Objective-C

- (easyar_InputFrameSource *)output

Swift

public func output() -> InputFrameSource

C#

public virtual InputFrameSource output()

create

Creates an instance.

C

void easyar_InputFrameRecorder_create(easyar_InputFrameRecorder * * Return)

C++

static std::shared_ptr<InputFrameRecorder> create()

Java

public static @Nonnull InputFrameRecorder create()

Kotlin

companion object fun create(): InputFrameRecorder

Objective-C

+ (easyar_InputFrameRecorder *)create

Swift

public static func create() -> InputFrameRecorder

C#

public static InputFrameRecorder create()

start

Starts frame recording. initialScreenRotation is the initial screen rotation when recording data, and it will be used in rendering for playback. The definition of screen rotation is the same as in CameraParameters .

C

bool easyar_InputFrameRecorder_start(easyar_InputFrameRecorder * This, easyar_String * filePath, int initialScreenRotation)

C++

bool start(std::string filePath, int initialScreenRotation)

Java

public boolean start(java.lang.@Nonnull String filePath, int initialScreenRotation)

Kotlin

fun start(filePath: String, initialScreenRotation: Int): Boolean

Objective-C

- (bool)start:(NSString *)filePath initialScreenRotation:(int)initialScreenRotation

Swift

public func start(_ filePath: String, _ initialScreenRotation: Int32) -> Bool

C#

public virtual bool start(string filePath, int initialScreenRotation)

stop

Stops frame recording. It will only stop recording and will not affect connection.

C

void easyar_InputFrameRecorder_stop(easyar_InputFrameRecorder * This)

C++

void stop()

Java

public void stop()

Kotlin

fun stop(): Unit

Objective-C

- (void)stop

Swift

public func stop() -> Void

C#

public virtual void stop()