InputFramePlayer Class

Description

输入帧播放器。

有一个输入帧输出端口,用于从EIF文件将输入帧取出。参考 概览 _ 。

本类的所有成员都是线程安全的。

output

输出端口。

C

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

C++17

std::shared_ptr<InputFrameSource> output()

C++03

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

创建。

C

void easyar_InputFramePlayer_create(easyar_InputFramePlayer * * Return)

C++17

static std::shared_ptr<InputFramePlayer> create()

C++03

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

开始播放。

C

bool easyar_InputFramePlayer_start(easyar_InputFramePlayer * This, easyar_String * filePath)

C++17

bool start(std::string filePath)

C++03

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

停止播放。

C

void easyar_InputFramePlayer_stop(easyar_InputFramePlayer * This)

C++17

void stop()

C++03

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

暂停播放。

C

void easyar_InputFramePlayer_pause(easyar_InputFramePlayer * This)

C++17

void pause()

C++03

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

继续播放。

C

bool easyar_InputFramePlayer_resume(easyar_InputFramePlayer * This)

C++17

bool resume()

C++03

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

预期的总播放时间。单位为秒。

C

double easyar_InputFramePlayer_totalTime(easyar_InputFramePlayer * This)

C++17

double totalTime()

C++03

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

当前的播放时刻。单位为秒。初始为0。

C

double easyar_InputFramePlayer_currentTime(easyar_InputFramePlayer * This)

C++17

double currentTime()

C++03

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

录制数据时的初始屏幕旋转方向。

C

int easyar_InputFramePlayer_initalScreenRotation(easyar_InputFramePlayer * This)

C++17

int initalScreenRotation()

C++03

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

获取是否已完成。

C

bool easyar_InputFramePlayer_isCompleted(easyar_InputFramePlayer * This)

C++17

bool isCompleted()

C++03

bool isCompleted()

Java

public boolean isCompleted()

Kotlin

fun isCompleted(): Boolean

Objective-C

- (bool)isCompleted

Swift

public func isCompleted() -> Bool

C#

public virtual bool isCompleted()