InputFramePlayer Class

Description

Input frame player.

There is an input frame output port. It can be used to get input frame from an EIF file. Refer to Overview _ .

All members of this class is thread-safe.

output

Output port.

C

void easyar_InputFramePlayer_output(easyar_InputFramePlayer * This, easyar_InputFrameSource * * Return)

C++17

std::shared_ptr<InputFrameSource> output()

C++03(Deprecated)

void output(InputFrameSource * * Return)

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_InputFramePlayer_create(easyar_InputFramePlayer * * Return)

C++17

static std::shared_ptr<InputFramePlayer> create()

C++03(Deprecated)

static void create(InputFramePlayer * * Return)

Java

public static @Nonnull InputFramePlayer create()

Kotlin

companion object fun create(): InputFramePlayer

Objective-C

+ (easyar_InputFramePlayer *)create

Swift

public static func create() -> InputFramePlayer

C#

public static InputFramePlayer create()

start

Starts frame play.

C

bool easyar_InputFramePlayer_start(easyar_InputFramePlayer * This, easyar_String * filePath)

C++17

bool start(std::string filePath)

C++03(Deprecated)

bool start(String * filePath)

Java

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

Kotlin

fun start(filePath: String): Boolean

Objective-C

- (bool)start:(NSString *)filePath

Swift

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

C#

public virtual bool start(string filePath)

stop

Stops frame play.

C

void easyar_InputFramePlayer_stop(easyar_InputFramePlayer * This)

C++17

void stop()

C++03(Deprecated)

void stop()

Java

public void stop()

Kotlin

fun stop(): Unit

Objective-C

- (void)stop

Swift

public func stop() -> Void

C#

public virtual void stop()

pause

Pauses frame play.

C

void easyar_InputFramePlayer_pause(easyar_InputFramePlayer * This)

C++17

void pause()

C++03(Deprecated)

void pause()

Java

public void pause()

Kotlin

fun pause(): Unit

Objective-C

- (void)pause

Swift

public func pause() -> Void

C#

public virtual void pause()

resume

Resumes frame play.

C

bool easyar_InputFramePlayer_resume(easyar_InputFramePlayer * This)

C++17

bool resume()

C++03(Deprecated)

bool resume()

Java

public boolean resume()

Kotlin

fun resume(): Boolean

Objective-C

- (bool)resume

Swift

public func resume() -> Bool

C#

public virtual bool resume()

totalTime

Total expected playback time span. The unit is second.

C

double easyar_InputFramePlayer_totalTime(easyar_InputFramePlayer * This)

C++17

double totalTime()

C++03(Deprecated)

double totalTime()

Java

public double totalTime()

Kotlin

fun totalTime(): Double

Objective-C

- (double)totalTime

Swift

public func totalTime() -> Double

C#

public virtual double totalTime()

currentTime

Current playback time point. The unit is second. The initial value is 0.

C

double easyar_InputFramePlayer_currentTime(easyar_InputFramePlayer * This)

C++17

double currentTime()

C++03(Deprecated)

double currentTime()

Java

public double currentTime()

Kotlin

fun currentTime(): Double

Objective-C

- (double)currentTime

Swift

public func currentTime() -> Double

C#

public virtual double currentTime()

initalScreenRotation

The initial screen rotation when recording data.

C

int easyar_InputFramePlayer_initalScreenRotation(easyar_InputFramePlayer * This)

C++17

int initalScreenRotation()

C++03(Deprecated)

int initalScreenRotation()

Java

public int initalScreenRotation()

Kotlin

fun initalScreenRotation(): Int

Objective-C

- (int)initalScreenRotation

Swift

public func initalScreenRotation() -> Int32

C#

public virtual int initalScreenRotation()

isCompleted

Whether the playback is completed.

C

bool easyar_InputFramePlayer_isCompleted(easyar_InputFramePlayer * This)

C++17

bool isCompleted()

C++03(Deprecated)

bool isCompleted()

Java

public boolean isCompleted()

Kotlin

fun isCompleted(): Boolean

Objective-C

- (bool)isCompleted

Swift

public func isCompleted() -> Bool

C#

public virtual bool isCompleted()