目录

IStreamCallBack

Interface Info

public interface IStreamCallBack

动效录制回调接口。

Public Method Summary

Modifier and Type

Method and Description

void

onRecordSuccess(java.util.HashMap<java.lang.String,java.lang.Object> map)

录制成功回调。

void

onRecordFailure(java.util.HashMap<java.lang.String,java.lang.Object> map)

录制失败回调。

void

onProgress(int progress)

录制进度回调。该方法为异步线程回调。

Public Methods

[h2]onRecordSuccess

Method

void onRecordSuccess(java.util.HashMap<java.lang.String,java.lang.Object> map)

录制成功回调。

Parameters

Name

Description

map

录制结果集合,包括录制类型、视频字节数组、GIF字节数组。

map

录制结果集合,包括录制类型、GIF字节数组。

[h2]onRecordFailure

Method

void onRecordFailure(java.util.HashMap<java.lang.String,java.lang.Object> map)

录制失败回调。

Parameters

Name

Description

map

录制结果集合,包括错误码、错误信息。

[h2]onProgress

Method

void onProgress(int progress)

录制进度回调。该方法为异步线程回调。

Parameters

Name

Description

progress

录制进度,取值0-100。