1.0.9 • Published 3 years ago

@hyext/hyext-api-adapter v1.0.9

Weekly downloads
-
License
ISC
Repository
-
Last release
3 years ago

hyext-api-adapter

抹平hyext部分api,暴露给外部小程序使用

release log

  • 1.0.3 接口名字修改 & 新增4个接口(GetHostCameraLayerInfo,SelectProcessingCameraLayer,ReqHostStartOutPutPreviewStream,ReqHostStopOutPutPreviewStream)

localMessage Module

  • StartLocalFunctionPreview 启动本地功能的预览效果
参数类型必须
messageObject
StartLocalFunctionPreview({xxx: xx}).then(res => {
    // do something
}).catch(err => {
    
})
  • StopLocalFunctionPreview 停止本地功能的预览效果
参数类型必须
messageObject
StopLocalFunctionPreview({xxx: xx}).then(res => {
    // do something
}).catch(err => {
    
})
  • StartLocalFunctionPushStream 开启本地功能推流到主播端预览界面
参数类型必须
messageObject
StartLocalFunctionPushStream({xxx: xx}).then(res => {
    // do something
}).catch(err => {

})
  • StopLocalFunctionPushStream 停止本地功能推流到主播端预览界面
参数类型必须
messageObject
StopLocalFunctionPushStream({xxx: xx}).then(res => {
    // do something
}).catch(err => {
    
})
  • SendOperateMessage 发送操作消息到端上
参数类型必须
messageObject
SendOperateMessage({xxx: xx}).then(res => {
    // do something
}).catch(err => {
    
})
  • IsLocalFunctionReady 小程序监听本地功能是否准备完毕
参数类型必须
callbackfunction
IsLocalFunctionReady(res => {
    // do something
})
  • OnLocalFunctionMessage 监听本地功能发送过来的消息
参数类型必须
callbackfunction
OnLocalFunctionMessage(res => {
    // do something
})
1.0.9

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago