My IMP(低代码音视频工厂)SDK v1.5.0
IMP SDK API Reference Manual for Android Platforms
com.aliyun.roompaas.live.exposable.LiveService Interface Reference
Inheritance diagram for com.aliyun.roompaas.live.exposable.LiveService:
com.aliyun.roompaas.base.exposable.PluginService< EH > com.aliyun.roompaas.base.exposable.IEventHandlerManager< EH >

Public Member Functions

boolean hasLive ()
 
LiveDetail getLiveDetail ()
 
void getLiveDetail (Callback< LiveDetail > callback)
 
void updateLiveInfo (LiveInfoModel model, Callback< Void > callback)
 
LivePlayerService getPlayerService ()
 
LivePusherService getPusherService ()
 
LivePusherService getPusherService (AliLivePusherOptions options)
 
- Public Member Functions inherited from com.aliyun.roompaas.base.exposable.PluginService< EH >
String getPluginId ()
 
String getInstanceId ()
 
void onLeaveRoom (boolean existPage)
 
void onSyncEvent (RoomNotificationModel model)
 
- Public Member Functions inherited from com.aliyun.roompaas.base.exposable.IEventHandlerManager< EH >
void addEventHandler (EH eventHandler)
 
void removeEventHandler (EH eventHandler)
 
void removeAllEventHandler ()
 

Detailed Description

Author
puke
Version
2021/6/21

Member Function Documentation

◆ getLiveDetail() [1/2]

LiveDetail com.aliyun.roompaas.live.exposable.LiveService.getLiveDetail ( )
Returns
查询直播详情 (同步方法, 仅限于内部请求过后才有值)

◆ getLiveDetail() [2/2]

void com.aliyun.roompaas.live.exposable.LiveService.getLiveDetail ( Callback< LiveDetail >  callback)

查询直播详情 (异步网络请求)

Parameters
callback回调函数

◆ getPlayerService()

LivePlayerService com.aliyun.roompaas.live.exposable.LiveService.getPlayerService ( )
Returns
获取直播播放服务

◆ getPusherService() [1/2]

LivePusherService com.aliyun.roompaas.live.exposable.LiveService.getPusherService ( )
Returns
获取直播推流服务

◆ getPusherService() [2/2]

LivePusherService com.aliyun.roompaas.live.exposable.LiveService.getPusherService ( AliLivePusherOptions  options)

获取直播推流服务

Parameters
options
Returns

◆ hasLive()

boolean com.aliyun.roompaas.live.exposable.LiveService.hasLive ( )
Returns
判断是否有直播

◆ updateLiveInfo()

void com.aliyun.roompaas.live.exposable.LiveService.updateLiveInfo ( LiveInfoModel  model,
Callback< Void >  callback 
)

更新直播间信息

Parameters
model直播间信息

The documentation for this interface was generated from the following file: