LMSDKBridge Class Reference

Inherits from NSObject
Conforms to LMSDKBridgeDelegate
Declared in LMSDKBridge.h
LMSDKBridge.m

– cmsAppAccountDic

cmsapp 账号系统key

- (NSDictionary *)cmsAppAccountDic

Declared In

LMSDKBridge.h

– initLiveMeSDKUserManager

初始化LiveMeSDK的用户保持model

- (void)initLiveMeSDKUserManager

Declared In

LMSDKBridge.m

– setupLiveMeSDKAppManager

初始化App状态 登陆|未登陆

- (void)setupLiveMeSDKAppManager

Declared In

LMSDKBridge.m

– setupLiveMeSDKTMXManager

初始化魔方数据

- (void)setupLiveMeSDKTMXManager

Declared In

LMSDKBridge.m

– setupLiveMeSDKRouteFilter

初始化路由拦截

- (void)setupLiveMeSDKRouteFilter

Declared In

LMSDKBridge.m

– setupLiveMeSDKOpportunityData

初始化下载资源

- (void)setupLiveMeSDKOpportunityData

Declared In

LMSDKBridge.m

– setupLiveMeSDKTongDun

初始化同盾安全监控

- (void)setupLiveMeSDKTongDun

Declared In

LMSDKBridge.m

– setupLiveMeSDKWithOriginUid:uid:token:

LiveMeSDK登录绑定用户token

- (void)setupLiveMeSDKWithOriginUid:(NSString *)originUid uid:(NSString *)uid token:(NSString *)token

Declared In

LMSDKBridge.m

– setupLiveMeSDKOnLogout

LiveMeSDK退出登录

- (void)setupLiveMeSDKOnLogout

Declared In

LMSDKBridge.m

– setupLiveMeSDKWillEnterForeground

LiveMeSDK 后台返回重新下载资源信息和文件

- (void)setupLiveMeSDKWillEnterForeground

Declared In

LMSDKBridge.m

– showUserAppealWithUid:type:warningMsg:

用户申诉tip弹窗

- (void)showUserAppealWithUid:(NSString *)uid type:(NSInteger)type warningMsg:(NSString *)warningMsg

Declared In

LMSDKBridge.m

– setupLoadUserManagerWithUid:

初始化构建userManager数据

- (void)setupLoadUserManagerWithUid:(NSString *)uid

Declared In

LMSDKBridge.m

– getUserManagerToken

返回用户信息token

- (NSString *)getUserManagerToken

Declared In

LMSDKBridge.m

– deviceWithAFID

获取设备afid信息

- (NSString *)deviceWithAFID

Declared In

LMSDKBridge.m

– setupRegisterShareManagerModules

注册分享模块

- (void)setupRegisterShareManagerModules

Declared In

LMSDKBridge.m

– updateSDKUserInfoWithResponseUserInfoModel:

更新用户信息

- (void)updateSDKUserInfoWithResponseUserInfoModel:(id)userInfo

Declared In

LMSDKBridge.m

– rootVCCurrentInstance

初始化根类控制器

- (instancetype)rootVCCurrentInstance

Declared In

LMSDKBridge.h

– 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 ))complete

Declared In

LMSDKBridge.h

– shopRegisterImClass

注册电商im消息体

- (void)shopRegisterImClass

Declared In

LMSDKBridge.h

– apiHostShop

电商接口

- (NSString *)apiHostShop

Declared In

LMSDKBridge.m

– apiHostShopH5

电商h5接口

- (NSString *)apiHostShopH5

Declared In

LMSDKBridge.m

– shopAddGoodsPageWithLiveId:

添加商品页

- (void)shopAddGoodsPageWithLiveId:(NSString *)liveId

Declared In

LMSDKBridge.m

– shopRefreshGoodsAll

刷新商品通知

- (void)shopRefreshGoodsAll

Declared In

LMSDKBridge.h

– shopLiveRoomBottomToolBar:

直播间 - 电商地步菜单工具条

- (id)shopLiveRoomBottomToolBar:(id)viewModel

Declared In

LMSDKBridge.h

– shopLiveRoomFetchGoodsCountLiveId:handler:

获取选择的商品个数

- (void)shopLiveRoomFetchGoodsCountLiveId:(NSString *)liveId handler:(void ( ^ ) ( NSInteger ))handler

Declared In

LMSDKBridge.h

– shopLiveRoomLiveEndWithVideoVid:liveMaster:coverImageUrl:superView:handleCloseBlock:

主播结束页

- (void)shopLiveRoomLiveEndWithVideoVid:(NSString *)vid liveMaster:(BOOL)isMaster coverImageUrl:(NSString *)coverImageUrl superView:(UIView *)superView handleCloseBlock:(void ( ^ ) ( void ))handleCloseBlock

Declared In

LMSDKBridge.h

– shopOnClickGoodsItems:

点击单个商品items

- (void)shopOnClickGoodsItems:(id)goodsModel

Declared In

LMSDKBridge.m

– shopOnClickGoodsBuy:

点击购买商品

- (void)shopOnClickGoodsBuy:(id)goodsModel

Declared In

LMSDKBridge.m

– shopOnClickGoodsAddCart:

点击加入购物车

- (void)shopOnClickGoodsAddCart:(id)goodsModel

Declared In

LMSDKBridge.m

– shopOnClickGoodsRecommend:

点击推荐

- (void)shopOnClickGoodsRecommend:(id)goodsModel

Declared In

LMSDKBridge.m

– shopOnClickGoodsImport:

点击导入商品

- (void)shopOnClickGoodsImport:(NSString *)vid

Declared In

LMSDKBridge.m

– shopOnClickGoodsCountIncrease:

商品数量增加

- (void)shopOnClickGoodsCountIncrease:(NSInteger)count

Declared In

LMSDKBridge.m

– shopMessageTrySendMessageWithVid:

电商发送消息同步

- (void)shopMessageTrySendMessageWithVid:(NSString *)vid

Declared In

LMSDKBridge.h

– shopOnClickGoodsGoCart:

查看购物车列表

- (void)shopOnClickGoodsGoCart:(id)goodsModel

Declared In

LMSDKBridge.h

– shopGetMyCoinCount:

获取当前账号金币

- (void)shopGetMyCoinCount:(void ( ^ ) ( NSString *_Nonnull , NSString *_Nonnull ))complete

Declared In

LMSDKBridge.h

– shopMessageAddContentWithExtra:styleSource:

设置电商直播间 主播昵称颜色

- (NSArray *)shopMessageAddContentWithExtra:(id)extra styleSource:(id)styleSource

Declared 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 ))completeHandle

Declared In

LMSDKBridge.h

– ShopSDKTermsOfUseUrl

服务条款

- (NSString *)ShopSDKTermsOfUseUrl

Declared In

LMSDKBridge.h

– shopSDKPrivacyPolicyUrl

隐私政策

- (NSString *)shopSDKPrivacyPolicyUrl

Declared In

LMSDKBridge.h

– shop_showSmallWindow

小窗播放 显示

- (void)shop_showSmallWindow

Declared In

LMSDKBridge.h

– shop_restoreSmallWindow

小窗播放 重置

- (void)shop_restoreSmallWindow

Declared In

LMSDKBridge.h

– shop_removeSmallWindow

小窗播放 删除

- (void)shop_removeSmallWindow

Declared In

LMSDKBridge.h

– shopFetchReplayGoodsWithVideoVid:handler:

获取回放商品列表展示时间点

- (void)shopFetchReplayGoodsWithVideoVid:(NSString *)vid handler:(void ( ^ ) ( NSArray *))handler

Declared In

LMSDKBridge.h

– shopOnClickFollowReceiveCouponWithAnchorId:

关注领取优惠券

- (void)shopOnClickFollowReceiveCouponWithAnchorId:(NSString *)anchorId

Declared In

LMSDKBridge.h

– generateShopLiveRoomUserInfoHeader:contentWidth:onClickHandler:onClickRecorderUserHandler:

定制电商专有直播间用户头部view

- (UIView *)generateShopLiveRoomUserInfoHeader:(id)liveViewModel contentWidth:(CGFloat)contentWidth onClickHandler:(dispatch_block_t)onClickHandler onClickRecorderUserHandler:(dispatch_block_t)onClickRecorderUserHandler

Declared In

LMSDKBridge.h