Skip to content

Commit 5e2dcd2

Browse files
author
videopls
committed
更新文档:添加灵听小程序
1 parent 0198c20 commit 5e2dcd2

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

docs/index.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -570,6 +570,36 @@ public class VideoOsAdapter extends VideoPlusAdapter {
570570

571571
```
572572

573+
## Acr 灵听小程序
574+
575+
```
576+
// 需在对应module 的gradle中额外引用
577+
provided "com.videoli:venvy_acr:1.0.0"
578+
579+
// 在VideoOsAdapter中实现对应插件
580+
// 灵听小程序插件
581+
@Override
582+
public Class<? extends IACRCloud> buildACRCloud() {
583+
return VenvyACRCloud.class;
584+
}
585+
586+
//录制回调监听
587+
@Override
588+
public IPlatformRecordInterface buildRecordInterface() {
589+
return new IPlatformRecordInterface() {
590+
@Override
591+
public void startRecord() {
592+
593+
}
594+
595+
@Override
596+
public void endRecord(final RecordCallback loginCallback) {
597+
598+
}
599+
};
600+
}
601+
602+
```
573603

574604

575605
## 其他

0 commit comments

Comments
 (0)