Table of Contents

Class EventDumpRecorder

命名空间
easyar

事件转储录制器。 用于将一些关键诊断信息保存到EED文件中。 本类的所有成员都是线程安全的。

EventDumpRecorder

方法

create

创建。

void easyar_EventDumpRecorder_create(easyar_EventDumpRecorder * * Return)
static std::shared_ptr<EventDumpRecorder> create()
public static @Nonnull EventDumpRecorder create()
companion object fun create(): EventDumpRecorder
+ (easyar_EventDumpRecorder *)create
public static func create() -> EventDumpRecorder
public static EventDumpRecorder create()

返回

类型 描述
EventDumpRecorder

start

开始录制。

bool easyar_EventDumpRecorder_start(easyar_EventDumpRecorder * This, easyar_String * filePath, int initalScreenRotation)
bool start(std::string filePath, int initalScreenRotation)
public boolean start(java.lang.@Nonnull String filePath, int initalScreenRotation)
fun start(filePath: String, initalScreenRotation: Int): Boolean
- (bool)start:(NSString *)filePath initalScreenRotation:(int)initalScreenRotation
public func start(_ filePath: String, _ initalScreenRotation: Int32) -> Bool
public virtual bool start(string filePath, int initalScreenRotation)

参数

名称 类型 描述
filePath String
initalScreenRotation Int32

返回

类型 描述
Boolean

stop

停止录制。

void easyar_EventDumpRecorder_stop(easyar_EventDumpRecorder * This)
void stop()
public void stop()
fun stop(): Unit
- (void)stop
public func stop() -> Void
public virtual void stop()

返回

类型 描述
Void