LMSDKBridge Class Reference
| Inherits from | NSObject |
|---|---|
| Conforms to | LMSDKBridgeDelegate |
| Declared in | LMSDKBridge.h LMSDKBridge.m |
– initLiveMeSDKUserManager
初始化LiveMeSDK的用户保持model
- (void)initLiveMeSDKUserManagerDeclared In
LMSDKBridge.m
– setupLiveMeSDKAppManager
初始化App状态 登陆|未登陆
- (void)setupLiveMeSDKAppManagerDeclared In
LMSDKBridge.m
– setupLiveMeSDKOpportunityData
初始化下载资源
- (void)setupLiveMeSDKOpportunityDataDeclared In
LMSDKBridge.m
– setupLiveMeSDKWithOriginUid:uid:token:
LiveMeSDK登录绑定用户token
- (void)setupLiveMeSDKWithOriginUid:(NSString *)originUid uid:(NSString *)uid token:(NSString *)tokenDeclared In
LMSDKBridge.m
– showUserAppealWithUid:type:warningMsg:
用户申诉tip弹窗
- (void)showUserAppealWithUid:(NSString *)uid type:(NSInteger)type warningMsg:(NSString *)warningMsgDeclared In
LMSDKBridge.m
– setupLoadUserManagerWithUid:
初始化构建userManager数据
- (void)setupLoadUserManagerWithUid:(NSString *)uidDeclared In
LMSDKBridge.m
– setupRegisterShareManagerModules
注册分享模块
- (void)setupRegisterShareManagerModulesDeclared In
LMSDKBridge.m
– updateSDKUserInfoWithResponseUserInfoModel:
更新用户信息
- (void)updateSDKUserInfoWithResponseUserInfoModel:(id)userInfoDeclared In
LMSDKBridge.m
– shopLiveAdd:pullurl:type:title:coverimg:playback:screen:complte:
添加电商开播
- (void)shopLiveAdd:(NSString *)vid pullurl:(NSString *)pullurl type:(NSString *)type title:(NSString *)title coverimg:(NSString *)img playback:(NSString *)playback screen:(NSString *)screen complte:(void ( ^ ) ( BOOL ))completeDeclared In
LMSDKBridge.h
– shopAddGoodsPageWithLiveId:
添加商品页
- (void)shopAddGoodsPageWithLiveId:(NSString *)liveIdDeclared In
LMSDKBridge.m
– shopLiveRoomBottomToolBar:
直播间 - 电商地步菜单工具条
- (id)shopLiveRoomBottomToolBar:(id)viewModelDeclared In
LMSDKBridge.h
– shopLiveRoomFetchGoodsCountLiveId:handler:
获取选择的商品个数
- (void)shopLiveRoomFetchGoodsCountLiveId:(NSString *)liveId handler:(void ( ^ ) ( NSInteger ))handlerDeclared In
LMSDKBridge.h
– shopLiveRoomLiveEndWithVideoVid:liveMaster:coverImageUrl:superView:handleCloseBlock:
主播结束页
- (void)shopLiveRoomLiveEndWithVideoVid:(NSString *)vid liveMaster:(BOOL)isMaster coverImageUrl:(NSString *)coverImageUrl superView:(UIView *)superView handleCloseBlock:(void ( ^ ) ( void ))handleCloseBlockDeclared In
LMSDKBridge.h
– shopOnClickGoodsItems:
点击单个商品items
- (void)shopOnClickGoodsItems:(id)goodsModelDeclared In
LMSDKBridge.m
– shopOnClickGoodsAddCart:
点击加入购物车
- (void)shopOnClickGoodsAddCart:(id)goodsModelDeclared In
LMSDKBridge.m
– shopOnClickGoodsRecommend:
点击推荐
- (void)shopOnClickGoodsRecommend:(id)goodsModelDeclared In
LMSDKBridge.m
– shopOnClickGoodsImport:
点击导入商品
- (void)shopOnClickGoodsImport:(NSString *)vidDeclared In
LMSDKBridge.m
– shopOnClickGoodsCountIncrease:
商品数量增加
- (void)shopOnClickGoodsCountIncrease:(NSInteger)countDeclared In
LMSDKBridge.m
– shopMessageTrySendMessageWithVid:
电商发送消息同步
- (void)shopMessageTrySendMessageWithVid:(NSString *)vidDeclared In
LMSDKBridge.h
– shopOnClickGoodsGoCart:
查看购物车列表
- (void)shopOnClickGoodsGoCart:(id)goodsModelDeclared In
LMSDKBridge.h
– shopGetMyCoinCount:
获取当前账号金币
- (void)shopGetMyCoinCount:(void ( ^ ) ( NSString *_Nonnull , NSString *_Nonnull ))completeDeclared In
LMSDKBridge.h
– shopMessageAddContentWithExtra:styleSource:
设置电商直播间 主播昵称颜色
- (NSArray *)shopMessageAddContentWithExtra:(id)extra styleSource:(id)styleSourceDeclared In
LMSDKBridge.h
– shopSDKBindAccountToLinkVUserId:name:portraitUri:email:birthday:phone:completeHandle:
登录
- (void)shopSDKBindAccountToLinkVUserId:(NSString *)userId name:(NSString *)name portraitUri:(nonnull NSString *)portraitUri email:(nonnull NSString *)email birthday:(nonnull NSString *)birthday phone:(nonnull NSString *)phone completeHandle:(nonnull void ( ^ ) ( NSString *_Nonnull , NSString *_Nonnull ))completeHandleDeclared In
LMSDKBridge.h
– shopFetchReplayGoodsWithVideoVid:handler:
获取回放商品列表展示时间点
- (void)shopFetchReplayGoodsWithVideoVid:(NSString *)vid handler:(void ( ^ ) ( NSArray *))handlerDeclared In
LMSDKBridge.h
– shopOnClickFollowReceiveCouponWithAnchorId:
关注领取优惠券
- (void)shopOnClickFollowReceiveCouponWithAnchorId:(NSString *)anchorIdDeclared In
LMSDKBridge.h
– generateShopLiveRoomUserInfoHeader:contentWidth:onClickHandler:onClickRecorderUserHandler:
定制电商专有直播间用户头部view
- (UIView *)generateShopLiveRoomUserInfoHeader:(id)liveViewModel contentWidth:(CGFloat)contentWidth onClickHandler:(dispatch_block_t)onClickHandler onClickRecorderUserHandler:(dispatch_block_t)onClickRecorderUserHandlerDeclared In
LMSDKBridge.h